Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
||= ~> if
  • Loading branch information
RaisinTen committed Jun 7, 2021
commit 3fe174f7642c329b90170035cdb00e143b5eb9fd
4 changes: 3 additions & 1 deletion test/common/tmpdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ function onexit() {

// Setting the process exit code to a non-zero exit code, so that this gets
// marked as `not ok` during a CI run.
process.exitCode ||= 1;
if (!process.exitCode) {
process.exitCode = 1;
}
}
}

Expand Down