Skip to content

Commit d910e16

Browse files
authored
build(husky): replace npx with pnpm exec (#168)
1 parent 83e48ea commit d910e16

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.husky/commit-msg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
# Husky will pass the path to the temporary commit‐message file as $1
5-
npx commitlint --edit "$1"
5+
pnpm exec commitlint --edit "$1"

‎.husky/pre-commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx lint-staged
4+
pnpm exec lint-staged

0 commit comments

Comments
 (0)