Skip to content

Commit

Permalink
fix: message lenght
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobritodev committed Apr 17, 2022
1 parent 9427db1 commit ec6a841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/hooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if ! head -1 "$1" | grep -qE "^(feat|fix|ci|chore|docs|test|style|refactor|chk)(
echo "For more information check https://www.conventionalcommits.org/en/v1.0.0/ for more details" >&2
exit 1
fi
if ! head -1 "$1" | grep -qE "^.{1,50}$"; then
if ! head -1 "$1" | grep -qE "^.{1,150}$"; then
echo "Aborting commit. Your commit message is too long." >&2
exit 1
fi

0 comments on commit ec6a841

Please sign in to comment.