ci(husky): 将钩子脚本从v8迁移至v9

This commit is contained in:
悠静萝莉 2024-09-03 02:10:34 +08:00
parent 20f6c4bf19
commit 9bba935676
No known key found for this signature in database
GPG Key ID: 4EDF1CA1CEA8EBCC
2 changed files with 0 additions and 6 deletions

View File

@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if [[ "$OS" == "Windows_NT" ]]; then
npx.cmd --no-install commitlint -e $GIT_PARAMS
else

View File

@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if [[ "$OS" == "Windows_NT" ]]; then
npx.cmd lint-staged
else