core: fix lint

This commit is contained in:
undefined committed 2021-06-21 13:52:46 +08:00
1 parent e2c5e57e53
commit e93ee9b2a1
1 file changed
+2 -2
+2 -2
View File
@@ -9,7 +9,7 @@ import { STATUS } from './builtin';
import task from './task'; import task from './task';
import problem from './problem'; import problem from './problem';
import { import {
RecordDoc, ContestInfo, ProblemConfigFile, ExternalProblemId, ProblemConfig, RecordDoc, ContestInfo, ProblemConfigFile, ExternalProblemId,
} from '../interface'; } from '../interface';
import { ArgMethod, buildProjection, Time } from '../utils'; import { ArgMethod, buildProjection, Time } from '../utils';
import { MaybeArray } from '../typeutils'; import { MaybeArray } from '../typeutils';
@@ -81,7 +81,7 @@ class RecordModel {
}); });
} }
} }
await task.add({ return await task.add({
...rdoc, ...rdoc,
priority, priority,
type: 'judge', type: 'judge',