diff --git a/packages/hydrojudge/package.json b/packages/hydrojudge/package.json index 927b69675..9c2188a2c 100644 --- a/packages/hydrojudge/package.json +++ b/packages/hydrojudge/package.json @@ -1,7 +1,7 @@ { "name": "@hydrooj/hydrojudge", "bin": "bin/hydrojudge.js", - "version": "2.5.9", + "version": "2.5.10", "main": "package.json", "author": "undefined ", "repository": "https://github.com/hydro-dev/Hydro.git", diff --git a/packages/hydrojudge/src/judge/interactive.ts b/packages/hydrojudge/src/judge/interactive.ts index a976d674b..ffc9d9382 100644 --- a/packages/hydrojudge/src/judge/interactive.ts +++ b/packages/hydrojudge/src/judge/interactive.ts @@ -121,7 +121,7 @@ export const judge = async (ctx) => { } await Promise.all(tasks); ctx.stat.done = new Date(); - ctx.next({ message: JSON.stringify(ctx.stat) }); + if (argv.debug) ctx.next({ message: JSON.stringify(ctx.stat) }); console.log({ status: ctx.total_status, score: ctx.total_score,