Skip to content

Commit

Permalink
Update lib/internal/modules/esm/handle_process_exit.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
MoonBall and aduh95 committed Jan 4, 2022
1 parent d7bb21f commit 0951516
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/modules/esm/handle_process_exit.js
Expand Up @@ -3,7 +3,6 @@
// Handle a Promise from running code that potentially does Top-Level Await.
// In that case, it makes sense to set the exit code to a specific non-zero
// value if the main code never finishes running.
// The original purpose was https://github.com/nodejs/node/pull/34640
function handleProcessExit() {
process.exitCode ??= 13;
}
Expand Down

0 comments on commit 0951516

Please sign in to comment.