Skip to content

Commit

Permalink
chore(husky): try to fix Husky hook
Browse files Browse the repository at this point in the history
  • Loading branch information
YoeriNijs committed Feb 1, 2024
1 parent 6d51e7a commit 1d386c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && git cz --hook || true
tty=$(readlink /proc/$$/fd/2)
exec < $tty && git cz --hook || true

0 comments on commit 1d386c3

Please sign in to comment.