Files
Web_AUTS_New_Prod/auts_new.client/.husky/prepare-commit-msg
2025-11-20 14:08:17 +08:00

11 lines
252 B
Bash

#!/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