Skip to content

Commit 7b77638

Browse files
committed
chore: fix husky hooks
1 parent 24be4fc commit 7b77638

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.husky/commit-msg

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
3-
4-
npx --no -- commitlint --edit ${1}
3+
. "$(where npx | head -n 1)" --no -- commitlint --edit ${1}

.husky/pre-commit

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
3-
4-
npx lint-staged
3+
. "$(where npx | head -n 1)" lint-staged

0 commit comments

Comments
 (0)