Merge pull request #5682 from electron/remove-old-run-as-node-env-var
Remove ATOM_SHELL_INTERNAL_RUN_AS_NODE support
This commit is contained in:
commit
4cd0de0e87
2 changed files with 2 additions and 3 deletions
|
@ -34,7 +34,6 @@
|
|||
namespace {
|
||||
|
||||
const char* kRunAsNode = "ELECTRON_RUN_AS_NODE";
|
||||
const char* kOldRunAsNode = "ATOM_SHELL_INTERNAL_RUN_AS_NODE";
|
||||
|
||||
bool IsEnvSet(const char* name) {
|
||||
#if defined(OS_WIN)
|
||||
|
@ -48,7 +47,7 @@ bool IsEnvSet(const char* name) {
|
|||
}
|
||||
|
||||
bool IsRunAsNode() {
|
||||
return IsEnvSet(kRunAsNode) || IsEnvSet(kOldRunAsNode);
|
||||
return IsEnvSet(kRunAsNode);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
2
vendor/node
vendored
2
vendor/node
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 454e37c47804706c5524d3639f18de02f5ad18c9
|
||||
Subproject commit d4528c219df8f442d769bae054883e1af79f105e
|
Loading…
Reference in a new issue