admin-web/.husky/commit-msg

9 lines
181 B
Plaintext
Raw Normal View History

2024-02-01 17:11:16 +08:00
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if [[ "$OS" == "Windows_NT" ]]; then
npx.cmd --no-install commitlint -e $GIT_PARAMS
else
npx --no-install commitlint -e $GIT_PARAMS
fi