Skip to content

Commit

Permalink
chore: fix husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
eartharoid committed Apr 18, 2024
1 parent 24be4fc commit 7b77638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
. "$(where npx | head -n 1)" --no -- commitlint --edit ${1}
3 changes: 1 addition & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
. "$(where npx | head -n 1)" lint-staged

0 comments on commit 7b77638

Please sign in to comment.