judge: remove debug msg

This commit is contained in:
undefined committed 2021-04-22 12:29:14 +08:00
1 parent 4c80aa888e
commit 936acf0139
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "2.5.9",
"version": "2.5.10",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",
+1 -1
View File
@@ -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,