diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index c8e54d3a..f4fb4c49 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -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