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:
parent
f0b76ddf94
commit
8e34bf17fc
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ resolve_zone_id() {
|
||||||
zone_id=$(
|
zone_id=$(
|
||||||
jq -r --arg hostname "${zone}" \
|
jq -r --arg hostname "${zone}" \
|
||||||
'(if type == "object" then (.Items // []) else . end)[]
|
'(if type == "object" then (.Items // []) else . end)[]
|
||||||
| select(any(.Hostnames[]?; .Value == $hostname))
|
| select(any(.Hostnames[]?; .Value == $hostname))
|
||||||
| .Id' \
|
| .Id' \
|
||||||
"${response_file}"
|
"${response_file}"
|
||||||
)
|
)
|
||||||
rm -f "${response_file}"
|
rm -f "${response_file}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue