Skip to content

Commit

Permalink
Merge pull request #1710 from rwblair/fix_cli_exitcode
Browse files Browse the repository at this point in the history
Return 1 on most failures in cli try/except
  • Loading branch information
rwblair authored Jun 30, 2023
2 parents 7f6bd5e + 4ed701a commit 10f0fe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bids-validator/bin/bids-validator
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ try {
entry(cli)
} else {
console.log(err)
process.exitCode = 1
}
}

0 comments on commit 10f0fe0

Please sign in to comment.