Use yarn to resolve lint-staged in pre-commit (#13470)

This commit is contained in:
Franck Nijhof 2022-08-24 15:27:35 +02:00 committed by GitHub
parent 6b7c00edbc
commit c2542a3baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"