修复一处可能导致training状态异常的问题

This commit is contained in:
undefined committed 2020-09-04 22:31:59 +08:00
1 parent b5c1f41dd2
commit a1aeb521fe
11 files changed
+52 -37

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ const checks: Dictionary<CheckItem> = {
},
};
export async function start(ctx, log, warn, error, cb) {
export async function start(ctx, log, warn, error, cb: (id: string) => any) {
const id = String.random(6);
cb(id);
for (const name in checks) {