mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 修复作业成绩表计分异常的问题
This commit is contained in:
1 parent
f0b9bee937
commit
f0c1b49ac1
4 files changed
+5
-6
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.1",
|
||||
"main": "package.json",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -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.');
|
||||
|
||||
Reference in new issue
Block a user