Skip to content

Commit 90837a0

Browse files
authored
Update tools/snapshot/node_mksnapshot.cc
1 parent 4021b5b commit 90837a0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/snapshot/node_mksnapshot.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ int BuildSnapshot(int argc, char* argv[]) {
6464
std::shared_ptr<node::InitializationResult> result =
6565
node::InitializeOncePerProcess(
6666
std::vector<std::string>(argv, argv + argc),
67-
{node::ProcessInitializationFlags::kGeneratePredictableSnapshot,
68-
// Prevent reading the NODE_OPTIONS environment variable when
69-
// building the snapshot.
70-
node::ProcessInitializationFlags::kDisableNodeOptionsEnv});
67+
node::ProcessInitializationFlags::kGeneratePredictableSnapshot);
7168

7269
CHECK(!result->early_return());
7370
CHECK_EQ(result->exit_code(), 0);

0 commit comments

Comments
 (0)