chore: fix husky hooks

This commit is contained in:
Isaac 2024-04-18 22:24:18 +01:00
parent 24be4fc300
commit 7b77638225
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit ${1}
. "$(where npx | head -n 1)" --no -- commitlint --edit ${1}

View File

@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged
. "$(where npx | head -n 1)" lint-staged