From 07ff7cd3d4584e9a992f1b77a9cdc9d90c1c5e83 Mon Sep 17 00:00:00 2001 From: younggglcy Date: Wed, 5 Jun 2024 09:32:05 +0800 Subject: [PATCH] chore(repo): use `pnpm exec` to speed up husky hook (#1727) --- .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