Files
mondarth-campaign/.husky/prepare-commit-msg
T

14 lines
271 B
Bash
Raw Permalink Normal View History

2025-07-14 18:00:35 +00:00
#!/bin/env bash
if [ "$2" = "commit" ]; then
echo "Skipping prepare-commit-msg hook due to amend."
exit 0
fi
if [ -n "$GIT_SEQUENCE_EDITOR" ]; then
echo "Skipping prepare-commit-msg hook due to rebase."
exit 0
fi
exec < /dev/tty && pnpm exec cz --hook || true