core: 修复自测不提供输入数据会进入评测流程的问题

This commit is contained in:
undefined committed 2021-02-05 17:25:17 +08:00
1 parent bb856bacce
commit 33aaf1f2ea
8 files changed
+20 -45

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ import {
const logger = new Logger('judge');
async function _postJudge(rdoc: Rdoc) {
if (typeof rdoc.input === 'string') return;
const accept = rdoc.status === builtin.STATUS.STATUS_ACCEPTED;
const tasks = [];
if (rdoc.contest) {