初始化
This commit is contained in:
10
auts_new.client/.husky/prepare-commit-msg
Normal file
10
auts_new.client/.husky/prepare-commit-msg
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user