mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
judge: bug fix
This commit is contained in:
1 parent
eba6b7f484
commit
128668ec63
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "2.17.3",
|
||||
"version": "2.17.4",
|
||||
"main": "package.json",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -57,7 +57,7 @@ function judgeCase(c: Case, sid: string) {
|
||||
);
|
||||
const { code, time_usage_ms, memory_usage_kb } = res;
|
||||
let { status } = res;
|
||||
let stdout: CmdFile = { fileId: res.fileIds[filename ? 'stdout' : `${filename}.out`] };
|
||||
let stdout: CmdFile = { fileId: res.fileIds[filename ? `${filename}.out` : 'stdout'] };
|
||||
const stderr = { fileId: res.fileIds['stderr'] };
|
||||
if (!stdout.fileId) stdout = { content: '' };
|
||||
let message: any = '';
|
||||
|
||||
Reference in new issue
Block a user