style(scripts): indent the purge zone jq filter by a multiple of two

The continuation lines of the zone-lookup filter sat at nine spaces, which fails
editorconfig-checker and blocks `prek run -a` for everyone. jq ignores the
leading whitespace, so the filter is unchanged: it still resolves the zone id
from both the object and the bare array response shape.
This commit is contained in:
Patrick Schratz 2026-09-01 22:47:28 +00:00
commit 8e34bf17fc
No known key found for this signature in database
GPG key ID: 62050D5BC68AB6DC

View file

@ -70,8 +70,8 @@ resolve_zone_id() {
zone_id=$(
jq -r --arg hostname "${zone}" \
'(if type == "object" then (.Items // []) else . end)[]
| select(any(.Hostnames[]?; .Value == $hostname))
| .Id' \
| select(any(.Hostnames[]?; .Value == $hostname))
| .Id' \
"${response_file}"
)
rm -f "${response_file}"