Skip to content

Commit 91f6018

Browse files
authored
nuget-to-json: fix silent error after curl update (#390928)
2 parents 37aabe8 + 36721b0 commit 91f6018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/nu/nuget-to-json/nuget-to-json.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ for index in "${sources[@]}"; do
3737
remote_sources+=("$index")
3838

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

0 commit comments

Comments
 (0)