Skip to content

Commit

Permalink
Exit code 1 on error
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolashmln committed Feb 17, 2020
1 parent c35ff06 commit 99f5ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ exports.process = (bucket, domain, environment) => {

exports.error = (message) => {
spinner.fail(message)
process.exit()
process.exit(1)
}
exports.succeed = () => { spinner.succeed() }
exports.info = () => { spinner.info() }
Expand Down

0 comments on commit 99f5ac8

Please sign in to comment.