fix: 修复husky问题
This commit is contained in:
parent
15db5e8db3
commit
7b8e58e0ec
|
@ -1,4 +1 @@
|
||||||
#!/bin/sh
|
npx --no -- commitlint --edit $1
|
||||||
. "$(dirname "$0")/husky.sh"
|
|
||||||
|
|
||||||
pnpm commitlint --edit "$1"
|
|
|
@ -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 ts:check
|
||||||
npm run lint:lint-staged
|
npm run lint:lint-staged
|
Loading…
Reference in New Issue