Skip to content

Commit 10f0fe0

Browse files
authored
Merge pull request #1710 from rwblair/fix_cli_exitcode
Return 1 on most failures in cli try/except
2 parents 7f6bd5e + 4ed701a commit 10f0fe0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bids-validator/bin/bids-validator

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ try {
1919
entry(cli)
2020
} else {
2121
console.log(err)
22+
process.exitCode = 1
2223
}
2324
}

0 commit comments

Comments
 (0)