From 5f0d72ef73ad0ff9c1c196798b70dea0c96ee7eb Mon Sep 17 00:00:00 2001 From: younggglcy Date: Sat, 1 Jun 2024 19:21:41 +0800 Subject: [PATCH] chore: use `pnpm exec` to speed up husky hook --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index f1e568560..58b1861cc 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -pnpm dlx lint-staged +pnpm exec lint-staged