Skip to content

Commit f7f88a4

Browse files
committed
bin: commitlint: don't exit successfully if a command fails (#1602)
1 parent fa85eab commit f7f88a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/commitlint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# commitlint 1.21..1.22 | grep -F [FAIL] # bad commits in 1.22 release cycle
2020
# commitlint # unpushed commits
2121

22+
set -e
23+
2224
if [[ -n ${NO_COLOR+set} ]]
2325
then
2426
RED=""

0 commit comments

Comments
 (0)