Unverified Commit 5918547a authored by David McFarland's avatar David McFarland Committed by Gutyina Gergő
Browse files

nuget-to-json: stop hiding curl errors

(cherry picked from commit 2afe69aeebe6b6deb7de91f326b9149f608645ca)
parent 403ba185
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ for index in "${sources[@]}"; do
    remote_sources+=("$index")

    base_address=$(
        curl --compressed --netrc -fsL "$index" |
        curl --compressed --netrc -fsSL "$index" |
            jq -r '.resources[] | select(."@type" == "PackageBaseAddress/3.0.0")."@id"'
    )
    if [[ ! "$base_address" == */ ]]; then