chore: prepare-commit-msg bypass windows

This commit is contained in:
Uyarn 2022-06-23 14:37:16 +08:00
parent fb978b3668
commit da81c24bbc

View File

@ -1,4 +1,6 @@
#!/bin/sh
[[ "$(uname -a)" = *"MINGW64"* ]] && exit 0
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"
#exec < /dev/tty && npx git-cz --hook || true
exec < /dev/tty && npx git-cz --hook || true