Skip to content

Commit da81c24

Browse files
committed
chore: prepare-commit-msg bypass windows
1 parent fb978b3 commit da81c24

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.husky/prepare-commit-msg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
2+
[[ "$(uname -a)" = *"MINGW64"* ]] && exit 0
3+
[ -n "$CI" ] && exit 0
24
. "$(dirname "$0")/_/husky.sh"
35

4-
#exec < /dev/tty && npx git-cz --hook || true
6+
exec < /dev/tty && npx git-cz --hook || true

0 commit comments

Comments
 (0)