diff --git a/.husky/commit-msg b/.husky/commit-msg index 617efbda..5a850009 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install commitlint --edit +npx --no -- commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index d37daa07..3f831e70 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install lint-staged +npx --no lint-staged