Skip to content

Commit 0951516

Browse files
MoonBalladuh95
andcommitted
Update lib/internal/modules/esm/handle_process_exit.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent d7bb21f commit 0951516

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/modules/esm/handle_process_exit.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Handle a Promise from running code that potentially does Top-Level Await.
44
// In that case, it makes sense to set the exit code to a specific non-zero
55
// value if the main code never finishes running.
6-
// The original purpose was https://github.com/nodejs/node/pull/34640
76
function handleProcessExit() {
87
process.exitCode ??= 13;
98
}

0 commit comments

Comments
 (0)