diff --git a/.husky/commit-msg b/.husky/commit-msg index 3b8658b10d..f472b9c2b6 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,5 +1,5 @@ #!/usr/bin/env sh -set -o errexit -o nounset +set -eu if command -v pnpm >/dev/null; then pnpm commitlint --edit --config=commitlint.config.cjs diff --git a/.husky/pre-push b/.husky/pre-push index 453fcf5191..d48b562847 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,5 +1,5 @@ #!/usr/bin/env sh -set -o errexit -o nounset +set -eu if command -v pnpm >/dev/null; then pnpm run lint --quiet