From a3d9917804103e6b6d6b25cb1ff463bfc92f92df Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 7 Jun 2026 02:19:15 +0000 Subject: [PATCH] fix: make debug core probes POSIX-safe --- scripts/src/debug.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",