refactor: use set -eu

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Khải
2026-03-03 18:56:51 +07:00
committed by GitHub
parent c36e740a61
commit ca3d849404
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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