We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c031cfb commit ccfa477Copy full SHA for ccfa477
src/node.cc
@@ -903,7 +903,7 @@ static ExitCode InitializeNodeWithArgsInternal(
903
!node_repl_external_env.empty()) {
904
errors->emplace_back("NODE_REPL_EXTERNAL_MODULE can't be used with "
905
"kDisableNodeOptionsEnv");
906
- return ExitCode::kBootstrapFailure;
+ return ExitCode::kInvalidCommandLineArgument;
907
}
908
909
#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