Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap emulator Node runtime discovery to favor local cache #2740

Merged
merged 12 commits into from
Oct 28, 2020
Prev Previous commit
Next Next commit
Remove indent
  • Loading branch information
abeisgoat committed Jun 2, 2020
commit 331233c0ba8cb52b71fa30ee726467d350c1f3ad
18 changes: 9 additions & 9 deletions standalone/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ exports.Script_NodeJS = function() {
});

require("child_process")
.fork(script, scriptArgv, {
env: process.env,
cwd: process.cwd(),
stdio: "inherit",
execArgv
})
.on("exit", code => {
process.exit(code);
});
.fork(script, scriptArgv, {
env: process.env,
cwd: process.cwd(),
stdio: "inherit",
execArgv
})
.on("exit", code => {
process.exit(code);
});
};

/*
Expand Down