core: 修复作业成绩表计分异常的问题

This commit is contained in:
undefined committed 2021-01-25 22:37:51 +08:00
1 parent f0b9bee937
commit f0c1b49ac1
4 files changed
+5 -6

No files matched your search

-1
View File
@@ -71,7 +71,6 @@ async function postInit() {
}
async function cacheOpen(domainId: string, pid: string, files: any[]) {
console.log(files);
const filePath = path.join(getConfig('cache_dir'), domainId, pid);
await fs.ensureDir(filePath);
if (!files.length) throw new SystemError('Problem data not found.');