judge: 修复spj的WA被报告为SystemError的错误

This commit is contained in:
undefined committed 2020-10-28 13:33:28 +08:00
1 parent 65e2cf9613
commit 9ba6bd41f5
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.1.5",
"version": "2.1.6",
"main": "package.json",
"author": "masnn",
"dependencies": {
+1 -1
View File
@@ -169,7 +169,7 @@ const checkers: Record<string, Checker> = {
...config.copyIn,
},
});
if (status !== STATUS.STATUS_ACCEPTED) {
if (status === STATUS.STATUS_SYSTEM_ERROR) {
return {
status: STATUS.STATUS_SYSTEM_ERROR,
score: 0,