Skip to content

Commit

Permalink
fix: fix typo in git hooks error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoissonnier authored and oknozor committed Nov 24, 2021
1 parent 551dc32 commit 6d8bdb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/git/assets/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ if cog check; then
exit 0
fi

echo "Invalid commits where found, force push with '--no-verify'"
echo "Invalid commits were found, force push with '--no-verify'"
exit 1
6 changes: 3 additions & 3 deletions src/git/assets/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ COMMIT_MSG_FILE=$1
MESSAGE=$(cat $COMMIT_MSG_FILE)

if cog verify "$MESSAGE"; then
echo "Commit parse succeded"
else
echo "Commit parse succeeded"
else
echo "See https://www.conventionalcommits.org/en/v1.0.0"
exit 1
fi
fi

0 comments on commit 6d8bdb5

Please sign in to comment.