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

+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 || [])];