Merge branch 'master' into hot-reload

This commit is contained in:
undefined committed 2022-09-27 00:00:06 +08:00
commit c5d165617e
13 files changed
+338 -1134

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
vendor/testlib/tests
node_modules
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "3.0.1",
"version": "3.0.3",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",
+1 -1
View File
@@ -71,7 +71,7 @@ function parseArgs(execute: string): string[] {
function proc(params: Parameter): Cmd {
const copyOut = supportOptional
? params.copyOut
: params.copyOut.map((i) => (i.endsWith('?') ? i.substring(0, i.length - 1) : i));
: (params.copyOut || []).map((i) => (i.endsWith('?') ? i.substring(0, i.length - 1) : i));
const size = parseMemoryMB(getConfig('stdio_size'));
const rate = getConfig('rate');
const copyOutCached = [...(params.copyOutCached || [])];