nuget-to-json: fix silent error after curl update (#390928)

This commit is contained in:
David McFarland
2025-03-18 04:40:24 -07:00
committed by GitHub
@@ -37,7 +37,7 @@ for index in "${sources[@]}"; do
remote_sources+=("$index")
base_address=$(
curl --compressed --netrc -fsL "$index" |
curl --compressed --netrc-optional -fsSL "$index" |
jq -r '.resources[] | select(."@type" == "PackageBaseAddress/3.0.0")."@id"'
)
if [[ ! "$base_address" == */ ]]; then