From c2542a3baa83ccfbd30acbf5516f6d004852c692 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 24 Aug 2022 15:27:35 +0200 Subject: [PATCH] Use yarn to resolve lint-staged in pre-commit (#13470) --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index b088d5ae66..cf5c994491 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -lint-staged --relative --shell "/bin/bash" +yarn run lint-staged --relative --shell "/bin/bash"