11 lines
252 B
Plaintext
11 lines
252 B
Plaintext
|
#!/bin/sh
|
||
|
[[ "$(uname -a)" = *"MINGW64"* ]] && exit 0
|
||
|
[ -n "$CI" ] && exit 0
|
||
|
. "$(dirname "$0")/_/husky.sh"
|
||
|
|
||
|
if [[ "$OS" == "Windows_NT" ]]; then
|
||
|
exec < /dev/tty && npx.cmd git-cz --hook || true
|
||
|
else
|
||
|
exec < /dev/tty && npx git-cz --hook || true
|
||
|
fi
|