We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3081b9 commit 0b16434Copy full SHA for 0b16434
src/node.cc
@@ -879,7 +879,7 @@ static ExitCode InitializeNodeWithArgsInternal(
879
!node_repl_external_env.empty()) {
880
errors->emplace_back("NODE_REPL_EXTERNAL_MODULE can't be used with "
881
"kDisableNodeOptionsEnv");
882
- return ExitCode::kBootstrapFailure;
+ return ExitCode::kInvalidCommandLineArgument;
883
}
884
885
#endif
test/embedding/test-embedding.js
@@ -163,7 +163,7 @@ for (const extraSnapshotArgs of [
163
},
164
165
{
166
- status: 10,
+ status: 9,
167
signal: null,
168
stderr: `${binary}: NODE_REPL_EXTERNAL_MODULE can't be used with kDisableNodeOptionsEnv\n`,
169
});
0 commit comments