From ca3d849404e353d4cbde616e3020a42fe2e22d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=E1=BA=A3i?= Date: Tue, 3 Mar 2026 18:56:51 +0700 Subject: [PATCH] refactor: use `set -eu` Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .husky/commit-msg | 2 +- .husky/pre-push | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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