diff --git a/.husky/commit-msg b/.husky/commit-msg index 15e9672d..24cbc3bb 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -2,4 +2,4 @@ . "$(dirname -- "$0")/_/husky.sh" # Husky will pass the path to the temporary commit‐message file as $1 -npx commitlint --edit "$1" +pnpm exec commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc6..58b1861c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx lint-staged +pnpm exec lint-staged