Skip to content

Commit

Permalink
chore: Fix commit-msg hook
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Feb 25, 2023
1 parent 31c3f07 commit c278bf5
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,6 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if git-branch-is main; then
if npx git-branch-is main; then
npx --no -- commitlint --edit
fi

0 comments on commit c278bf5

Please sign in to comment.