mirror of
https://github.com/electron/electron.git
synced 2026-01-24 23:08:10 -05:00
Remove ATOM_SHELL_INTERNAL_RUN_AS_NODE support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user