Skip to content

Commit

Permalink
fix: fix list-all to handle pages without linux elements, Fix jtheged…
Browse files Browse the repository at this point in the history
  • Loading branch information
sbocinec authored and JakobGM committed Jan 29, 2025
1 parent 93b231d commit 87e93c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/list-all
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function list_all() {
else
more=false
fi
additions=$(echo "${res}" | grep -Eo "name.*google-cloud-sdk-[0-9]+\.[0-9]+\.[0-9]+-(linux)-x86_64" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
additions=$(echo "${res}" | grep -Eo "name.*google-cloud-sdk-[0-9]+\.[0-9]+\.[0-9]+-(linux)-x86_64" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+" || true)
if [[ -n "${additions}" ]]; then
list="${list}\n${additions}"
fi
Expand Down

0 comments on commit 87e93c2

Please sign in to comment.