Skip to content

Commit

Permalink
fix: print summary error message
Browse files Browse the repository at this point in the history
  • Loading branch information
varl committed Sep 20, 2021
1 parent a3f06bc commit 59618b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/commands/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ exports.jscmd = yargs =>
fsHandler(argv, statusCode)
}

exit(statusCode())
exit(
statusCode(),
`Failed to ${
argv.apply ? 'apply' : 'verify'
} code style, see above output for details.`
)
}
)

Expand Down

0 comments on commit 59618b7

Please sign in to comment.