wip: maybe fix length of args error

This commit is contained in:
EdamAmex 2024-10-17 10:51:06 +00:00
parent ee438b636b
commit bee20e7342
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ export function fork(
} else if (flag.startsWith("--no-warnings")) {
execArgv[index] = "--quiet";
} else if (flag.startsWith("--experimental")) {
// Do Nothing
execArgv[index] = "";
} else {
index++;
}

View File

@ -1194,7 +1194,7 @@ function toDenoArgs(args: string[]): string[] {
if (arg === "--no-warnings") {
denoArgs.push("--quiet");
} else if (arg.startsWith("--experimental")) {
// Do Nothing
denoArgs.push("");
} else {
// Not a known flag that expects a value. Just copy it to the output.
denoArgs.push(arg);