Skip to content

Commit

Permalink
chore: skip commitizen in CI environments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Nikles authored and mikenikles committed Aug 1, 2021
1 parent 9cf6f1c commit 46e7865
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && ./node_modules/.bin/cz --hook || true
if [ -z "${CI}" ]; then
exec < /dev/tty && ./node_modules/.bin/cz --hook || true
fi

0 comments on commit 46e7865

Please sign in to comment.