codeql: remove some useless check

This commit is contained in:
undefined committed 2021-02-28 14:43:53 +08:00
1 parent 8c6f9a3b71
commit 07d7a38a1b
7 files changed
+18 -23

No files matched your search

-1
View File
@@ -106,7 +106,6 @@ export const judge = async (ctx) => {
});
}
} else if (status === STATUS.STATUS_RUNTIME_ERROR && code) {
status = STATUS.STATUS_RUNTIME_ERROR;
if (code < 32) message = signals[code];
else message = `您的程序返回了 ${code}.`;
}