mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-25 15:07:06 -04:00
refactor: use set -eu
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user