Skip to content

Commit

Permalink
fix: fix git cz to use node_module bin in case of that you didn't ins…
Browse files Browse the repository at this point in the history
…tall cz globally
  • Loading branch information
WEICHENG HUNG committed Aug 10, 2022
1 parent a4e0b6f commit 7514ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && git cz --hook || true
exec < /dev/tty && node_modules/.bin/cz --hook || true

0 comments on commit 7514ffb

Please sign in to comment.