Skip to content

Commit

Permalink
fix: exit code on workspace properly propagated in node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBitard committed May 17, 2023
1 parent 7751dd4 commit bf864c4
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 bf864c4

Please sign in to comment.