Skip to content

Commit

Permalink
chore(husky): use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
Yelinz committed Sep 12, 2024
1 parent 7cb6bfd commit 6abcc99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[ -n "$CI" ] && exit 0

# lint commit message
pnpm commitlint --edit "$1"
corepack pnpm commitlint --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[ -n "$CI" ] && exit 0

# lint staged files
pnpm lint-staged
corepack pnpm lint-staged

0 comments on commit 6abcc99

Please sign in to comment.