From 6911f64b6c22e0d34419121301f81aafafde3ba0 Mon Sep 17 00:00:00 2001 From: Mystic <215104920@qq.com> Date: Fri, 30 Aug 2024 17:24:13 +0800 Subject: [PATCH] build: use pnpm at husky pre-commit --- .husky/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 1b621c0..b2da178 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ -npm test -npx lint-staged +pnpm test +pnpm dlx lint-staged