mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 10:31:20 +08:00
11 lines
252 B
Bash
Executable File
11 lines
252 B
Bash
Executable File
#!/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
|