mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
wip: maybe fix length of args error
This commit is contained in:
parent
ee438b636b
commit
bee20e7342
@ -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++;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user