We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7bb21f commit dbbca0fCopy full SHA for dbbca0f
lib/internal/modules/esm/handle_process_exit.js
@@ -3,7 +3,6 @@
3
// Handle a Promise from running code that potentially does Top-Level Await.
4
// In that case, it makes sense to set the exit code to a specific non-zero
5
// value if the main code never finishes running.
6
-// The original purpose was https://github.com/nodejs/node/pull/34640
7
function handleProcessExit() {
8
process.exitCode ??= 13;
9
}
0 commit comments