From 28ae1629038a17ec2a16bb95776ce621bef8ce88 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 23 Aug 2021 15:52:30 +0800 Subject: [PATCH] workflow: replace `pnpx` with `pnpm exec` As `pnpx` is deprecated --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 60846fb8..5e592735 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -pnpx --no-install lint-staged +pnpm exec lint-staged -- 2.39.5