Skip to content

Commit

Permalink
Merge pull request #27 from baabouj/fix/run-commitlint-command-in-git…
Browse files Browse the repository at this point in the history
…-commit-msg-hook-with-npx

fix: run commitlint command in git commit-msg hook with npx
  • Loading branch information
baabouj authored May 18, 2024
2 parents d356f70 + 0870261 commit 68d76f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit $1
npx commitlint --edit $1

0 comments on commit 68d76f7

Please sign in to comment.