fix: 修复husky问题
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user