File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ if ! [[ $SUBJECT =~ $subject_regex ]]; then
3939 echo " chore"
4040 echo " "
4141 echo " Read more at http://docs.deis.io/en/latest/contributing/standards/$NORMAL "
42- exit 1
42+ exit 0
4343fi
4444
4545if ! [[ $SUBJECT =~ $capital_regex ]]; then
@@ -48,20 +48,21 @@ if ! [[ $SUBJECT =~ $capital_regex ]]; then
4848 echo " $SUBJECT "
4949 echo " "
5050 echo " Read more at http://docs.deis.io/en/latest/contributing/standards/$NORMAL "
51- exit 1
51+ exit 0
5252fi
5353
5454if [[ ${# SUBJECT} -gt 50 ]]; then
5555 echo " ${YELLOW} WARNING - Subject shouldn't be longer than 50 characters."
5656 echo " "
5757 echo " Read more at http://docs.deis.io/en/latest/contributing/standards/$NORMAL "
58+ exit 0
5859fi
5960
6061if [[ ${# MESSAGE[2]} -gt 0 ]]; then
6162 echo " ${RED} ERROR - Second line must be blank"
6263 echo " "
6364 echo " Read more at http://docs.deis.io/en/latest/contributing/standards/$NORMAL "
64- exit 1
65+ exit 0
6566fi
6667
6768cnt=${# MESSAGE[@]}
7172 echo " ${RED} ERROR on line $i - can't be longer than 72 characters."
7273 echo " "
7374 echo " Read more at http://docs.deis.io/en/latest/contributing/standards/$NORMAL "
74- exit 1
75+ exit 0
7576 fi
7677done
7778
You can’t perform that action at this time.
0 commit comments