Skip to content

Commit

Permalink
fix: Bail on fatal errors (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojodna authored and okonet committed Jul 6, 2017
1 parent a97faab commit ca85d82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -40,6 +40,7 @@ cosmiconfig('lint-staged', {
sgf('ACM', (err, files) => {
if (err) {
console.error(err)
process.exit(1)
}

const resolvedFiles = {}
Expand Down

0 comments on commit ca85d82

Please sign in to comment.