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

pull/15/head
undefined 4 years ago
parent 65e2cf9613
commit 9ba6bd41f5

@ -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": {

@ -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,

Loading…
Cancel
Save