admin-web/.husky/commit-msg
2024-02-01 17:11:16 +08:00

9 lines
181 B
Bash

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