fix(test): the second curl stub needed the SC2317 disable too

a968e13 was pushed with shellcheck red. I chained the gates and the push in
one command, so a non-zero gate did not stop the push — the gate has to be a
condition, not a line of output I read afterwards.

Refs #188
This commit is contained in:
cluade-reviewer-andresmgsl 2026-08-02 19:24:27 +00:00
parent a968e13ca4
commit dce12e0bb5

View file

@ -204,6 +204,7 @@ check "an empty collection is not an error" 0 "" \
# gh exits non-zero on an HTTP error; curl does not without -f, and -f
# discards the body that explains why. So the status is read explicitly.
fake_forge 1 '[{"number":1}]'
# shellcheck disable=SC2317 # invoked indirectly, by forge_api
curl() {
local hdr="" out=""
while [ $# -gt 0 ]; do