Skip to content

Commit

Permalink
Revert "update_platforms_check: quote array for ShellCheck fix"
Browse files Browse the repository at this point in the history
This reverts commit 84bbd67.
  • Loading branch information
miabbott authored and nullr0ute committed Feb 16, 2023
1 parent 7ad3ea5 commit 1d54f0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ get_update_platform_urls() {
}

assert_update_platforms_are_responding() {
for UPDATE_PLATFORM_URL in "${UPDATE_PLATFORM_URLS[@]}"; do
for UPDATE_PLATFORM_URL in ${UPDATE_PLATFORM_URLS[*]}; do
HTTP_STATUS=$(curl -o /dev/null -Isw '%{http_code}\n' "$UPDATE_PLATFORM_URL" || echo "Unreachable")
if ! [[ $HTTP_STATUS == 2* ]] && ! [[ $HTTP_STATUS == 3* ]]; then
URLS_WITH_PROBLEMS+=( "$UPDATE_PLATFORM_URL" )
Expand Down

0 comments on commit 1d54f0b

Please sign in to comment.