Skip to content

Commit acb282a

Browse files
committed
ci(husky): add fix for husky@9 strange migration issues
1 parent 7a5630e commit acb282a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
. "$(dirname $0)/_/husky.sh"
23

34
npx commitlint -e
45
if [ -z $GAC_VERIFY_SIMPLE ]; then npm run test; fi

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
. "$(dirname $0)/_/husky.sh"
23

34
if [ -z $GAC_VERIFY_SIMPLE ]; then npm run lint; fi
45
NODE_ENV=format npx lint-staged --concurrent false

0 commit comments

Comments
 (0)