Skip to content

Commit

Permalink
[mono][wasm] Fix the --runtime-arg argument in runtime-test.js. (#59852)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz authored Oct 1, 2021
1 parent 4963df9 commit fa845ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/wasm/runtime-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ while (allRuntimeArguments !== undefined && allRuntimeArguments.length > 0) {
allRuntimeArguments = allRuntimeArguments.slice (1);
} else if (allRuntimeArguments [0].startsWith ("--runtime-arg=")) {
var arg = allRuntimeArguments [0].substring ("--runtime-arg=".length);
runtime_args = allRuntimeArguments.push (arg);
runtime_args.push (arg);
allRuntimeArguments = allRuntimeArguments.slice (1);
} else if (allRuntimeArguments [0] == "--disable-on-demand-gc") {
enable_gc = false;
Expand Down

0 comments on commit fa845ce

Please sign in to comment.