chore: code formatting
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
//Imports
|
||||
import { cli } from "./analyzer/cli.mjs"
|
||||
import { IndepthAnalyzer } from "./analyzer/indepth.mjs"
|
||||
import { RecentAnalyzer } from "./analyzer/recent.mjs"
|
||||
import { cli } from "./analyzer/cli.mjs"
|
||||
|
||||
/**Indepth analyzer */
|
||||
export async function indepth({login, data, imports, rest, context, repositories}, {skipped, categories, timeout}) {
|
||||
return new IndepthAnalyzer(login, {shell:imports, uid:data.user.databaseId, skipped, authoring:data.shared["commits.authoring"], timeout, rest, context, categories}).run({repositories})
|
||||
return new IndepthAnalyzer(login, {shell: imports, uid: data.user.databaseId, skipped, authoring: data.shared["commits.authoring"], timeout, rest, context, categories}).run({repositories})
|
||||
}
|
||||
|
||||
/**Recent languages activity */
|
||||
export async function recent({login, data, imports, rest, context, account}, {skipped = [], categories, days = 0, load = 0, timeout}) {
|
||||
return new RecentAnalyzer(login, {shell:imports, uid:data.user.databaseId, skipped, authoring:data.shared["commits.authoring"], timeout, account, rest, context, days, categories, load}).run()
|
||||
return new RecentAnalyzer(login, {shell: imports, uid: data.user.databaseId, skipped, authoring: data.shared["commits.authoring"], timeout, account, rest, context, days, categories, load}).run()
|
||||
}
|
||||
|
||||
//import.meta.main
|
||||
if (/languages.analyzers.mjs$/.test(process.argv[1])) {
|
||||
(async () => {
|
||||
;(async () => {
|
||||
console.log(await cli())
|
||||
process.exit(0)
|
||||
})()
|
||||
|
||||
Reference in New Issue
Block a user