Skip to content

Commit

Permalink
bin: commitlint: don't exit successfully if a command fails (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jul 11, 2021
1 parent fa85eab commit f7f88a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/commitlint
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# commitlint 1.21..1.22 | grep -F [FAIL] # bad commits in 1.22 release cycle
# commitlint # unpushed commits

set -e

if [[ -n ${NO_COLOR+set} ]]
then
RED=""
Expand Down

0 comments on commit f7f88a4

Please sign in to comment.