fix: 修复husky问题

This commit is contained in:
kailong321200875 2024-07-19 10:42:46 +08:00
parent 15db5e8db3
commit 7b8e58e0ec
2 changed files with 2 additions and 11 deletions

View File

@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/husky.sh"
pnpm commitlint --edit "$1"
npx --no -- commitlint --edit $1

View File

@ -1,8 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/husky.sh"
[ -n "$CI" ] && exit 0
# Format and submit code according to lintstagedrc.js configuration
npm run ts:check
npm run lint:lint-staged
npm run lint:lint-staged