mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
Merge branch 'master' into hot-reload
This commit is contained in:
commit
c5d165617e
13 files changed
+338
-1134
No files matched your search
@@ -0,0 +1,2 @@
|
||||
vendor/testlib/tests
|
||||
node_modules
|
||||
@@ -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",
|
||||
|
||||
@@ -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 || [])];
|
||||
|
||||
Reference in new issue
Block a user