chore: fix husky hooks

This commit is contained in:
Isaac
2024-04-18 22:24:18 +01:00
parent 24be4fc300
commit 7b77638225
2 changed files with 2 additions and 4 deletions

View File

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

View File

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