We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4021b5b commit 90837a0Copy full SHA for 90837a0
tools/snapshot/node_mksnapshot.cc
@@ -64,10 +64,7 @@ int BuildSnapshot(int argc, char* argv[]) {
64
std::shared_ptr<node::InitializationResult> result =
65
node::InitializeOncePerProcess(
66
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});
+ node::ProcessInitializationFlags::kGeneratePredictableSnapshot);
71
72
CHECK(!result->early_return());
73
CHECK_EQ(result->exit_code(), 0);
0 commit comments