Skip to content

Commit

Permalink
fix: exit codes in node v20 (#6461)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBitard authored May 17, 2023
1 parent afc38a5 commit 6ce99a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/exit-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ const exitHandler = err => {
log.level = level
}

let exitCode
let noLogMessage
let exitCode = process.exitCode || 0
let noLogMessage = exitCode !== 0
let jsonError

if (err) {
Expand Down

0 comments on commit 6ce99a8

Please sign in to comment.