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 authored Jan 4, 2022
1 parent d7bb21f commit dbbca0f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/modules/esm/handle_process_exit.js
Original file line number Diff line number Diff line change
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 dbbca0f

Please sign in to comment.