mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: do not clean if checker=default
This commit is contained in:
1 parent
508e42b0eb
commit
51a6b8b9c4
3 files changed
+7
-7
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/hydrojudge",
|
"name": "@hydrooj/hydrojudge",
|
||||||
"bin": "bin/hydrojudge.js",
|
"bin": "bin/hydrojudge.js",
|
||||||
"version": "2.1.10",
|
"version": "2.1.11",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "masnn",
|
"author": "masnn",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ export const judge = async (ctx) => {
|
|||||||
);
|
);
|
||||||
})(),
|
})(),
|
||||||
]);
|
]);
|
||||||
ctx.clean.push(ctx.checker.clean);
|
if (ctx.checker) ctx.clean.push(ctx.checker.clean);
|
||||||
ctx.clean.push(ctx.execute.clean);
|
ctx.clean.push(ctx.execute.clean);
|
||||||
ctx.next({ status: STATUS.STATUS_JUDGING, progress: 0 });
|
ctx.next({ status: STATUS.STATUS_JUDGING, progress: 0 });
|
||||||
const tasks = [];
|
const tasks = [];
|
||||||
|
|||||||
@@ -40,11 +40,11 @@ export interface EventMap {
|
|||||||
'user/message': (uid: number, mdoc: Mdoc, udoc: User) => void
|
'user/message': (uid: number, mdoc: Mdoc, udoc: User) => void
|
||||||
'user/get': (udoc: User) => void
|
'user/get': (udoc: User) => void
|
||||||
|
|
||||||
'domain/create': (ddoc: DomainDoc) => void
|
'domain/create': (ddoc: DomainDoc) => VoidReturn
|
||||||
'domain/before-get': (query: FilterQuery<DomainDoc>) => void
|
'domain/before-get': (query: FilterQuery<DomainDoc>) => VoidReturn
|
||||||
'domain/get': (ddoc: DomainDoc) => void
|
'domain/get': (ddoc: DomainDoc) => VoidReturn
|
||||||
'domain/before-update': (domainId: string, $set: Partial<DomainDoc>) => void
|
'domain/before-update': (domainId: string, $set: Partial<DomainDoc>) => VoidReturn
|
||||||
'domain/update': (domainId: string, $set: Partial<DomainDoc>, ddoc: DomainDoc) => void
|
'domain/update': (domainId: string, $set: Partial<DomainDoc>, ddoc: DomainDoc) => VoidReturn
|
||||||
|
|
||||||
'document/add': (doc: any) => VoidReturn
|
'document/add': (doc: any) => VoidReturn
|
||||||
'document/set': <T extends keyof DocType>
|
'document/set': <T extends keyof DocType>
|
||||||
|
|||||||
Reference in new issue
Block a user