fix(build): strip the s3 scheme so per-minor objects reach their pass #192
1 changed files with 2 additions and 2 deletions
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.
commit
8e34bf17fc
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue