mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 22:07:58 +03:00
11 lines
317 B
TypeScript
11 lines
317 B
TypeScript
/* eslint-disable no-await-in-loop */
|
|
import CreateLogCtx from "lib/logger/logger";
|
|
import { UpdateAllPBs } from "utils/calculations/recalc-scores";
|
|
import { WrapScriptPromise } from "utils/misc";
|
|
|
|
const logger = CreateLogCtx(__filename);
|
|
|
|
if (require.main === module) {
|
|
WrapScriptPromise(UpdateAllPBs(), logger);
|
|
}
|