We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d40cc commit 7c6dcf7Copy full SHA for 7c6dcf7
.husky/prepare-commit-msg
@@ -1,4 +1,14 @@
1
#!/bin/sh
2
. "$(dirname "$0")/_/husky.sh"
3
4
+if [ "$2" = "message" ]; then
5
+ echo "Skipping prepare-commit-msg hook due to message."
6
+ exit 0
7
+fi
8
+
9
+if [ "$2" = "commit" ]; then
10
+ echo "Skipping prepare-commit-msg hook due to amend."
11
12
13
14
exec </dev/tty && npx cz --hook || true
0 commit comments