mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: 优化找不到数据时的错误信息
This commit is contained in:
1 parent
dd4ecdb029
commit
8c65f89e55
6 files changed
+9
-12
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "2.1.20",
|
||||
"version": "2.1.21",
|
||||
"main": "package.json",
|
||||
"author": "masnn",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
@@ -15,7 +15,7 @@
|
||||
"p-queue": "^6.6.1",
|
||||
"shell-quote": "^1.7.2",
|
||||
"supports-color": "^7.2.0",
|
||||
"systeminformation": "^4.28.1",
|
||||
"systeminformation": "^4.29.1",
|
||||
"yargs": "^16.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -208,7 +208,7 @@ async function postInit() {
|
||||
this.domainId = this.request.domainId;
|
||||
this.lang = this.request.lang;
|
||||
this.code = this.request.code;
|
||||
this.data = this.request.data.toString();
|
||||
this.data = (this.request.data || '').toString();
|
||||
this.config = this.request.config;
|
||||
this.next = getNext(this);
|
||||
this.end = getEnd(this.domainId, this.rid);
|
||||
|
||||
Reference in new issue
Block a user