diff --git a/scripts/src/debug.ts b/scripts/src/debug.ts index d7735f13..f055234e 100644 --- a/scripts/src/debug.ts +++ b/scripts/src/debug.ts @@ -27,7 +27,7 @@ function coreFetchCommand(path: string, init?: { method?: string; body?: unknown const url = `http://127.0.0.1:8080${path}`; const body = init?.body === undefined ? "" : JSON.stringify(init.body); const script = [ - "set -euo pipefail", + "set -eu", "if command -v backend-core >/dev/null 2>&1; then", ` exec backend-core --fetch-json ${shellQuote(url)} --method ${shellQuote(method)}${body.length > 0 ? ` --body-json ${shellQuote(body)}` : ""}`, "fi",