From fb00294f5b05af50bfd7df900e07486b556e6224 Mon Sep 17 00:00:00 2001 From: ratnick Date: Thu, 16 Apr 2026 13:38:15 +0000 Subject: [PATCH] build(husky): replace npx with pnpm exec --- .husky/commit-msg | 2 +- .husky/pre-commit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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