mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge: 修复spj的WA被报告为SystemError的错误
This commit is contained in:
1 parent
65e2cf9613
commit
9ba6bd41f5
2 files changed
+2
-2
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.5",
|
"version": "2.1.6",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "masnn",
|
"author": "masnn",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ const checkers: Record<string, Checker> = {
|
|||||||
...config.copyIn,
|
...config.copyIn,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (status !== STATUS.STATUS_ACCEPTED) {
|
if (status === STATUS.STATUS_SYSTEM_ERROR) {
|
||||||
return {
|
return {
|
||||||
status: STATUS.STATUS_SYSTEM_ERROR,
|
status: STATUS.STATUS_SYSTEM_ERROR,
|
||||||
score: 0,
|
score: 0,
|
||||||
|
|||||||
Reference in new issue
Block a user