judge: fix detail priority

This commit is contained in:
undefined committed 2021-10-06 16:50:13 +08:00
1 parent e15c75d4b8
commit 649cc21f12
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "@hydrooj/hydrojudge", "name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js", "bin": "bin/hydrojudge.js",
"version": "2.11.6", "version": "2.11.7",
"main": "package.json", "main": "package.json",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",
+1 -1
View File
@@ -112,7 +112,7 @@ class JudgeTask {
this.stat.read_cases = new Date(); this.stat.read_cases = new Date();
this.config = await readCases( this.config = await readCases(
this.folder, this.folder,
{ ...this.config, detail: this.session.config.detail }, { detail: this.session.config.detail, ...this.config },
{ next: this.next, key: md5(`${this.domainId}${this.pid}${getConfig('secret')}`) }, { next: this.next, key: md5(`${this.domainId}${this.pid}${getConfig('secret')}`) },
); );
this.stat.judge = new Date(); this.stat.judge = new Date();