Skip to content

Commit 01bac5d

Browse files
committed
Exit process when command failed
1 parent 5c08dd8 commit 01bac5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/codebox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var gitconfig = require('../lib/utils/gitconfig');
1212

1313
function printError(err) {
1414
console.log(err.stack || err.message || err);
15+
process.exit(1);
1516
}
1617

1718
program

0 commit comments

Comments
 (0)