We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d66ca5 commit e7a29daCopy full SHA for e7a29da
src/dotnet-install.sh
@@ -1162,9 +1162,15 @@ generate_download_links() {
1162
done
1163
fi
1164
1165
- for link in ${download_links[@]}
+ if [[ "${#download_links[@]}" -eq 0 ]]; then
1166
+ say_err "Failed to resolve the exact version number."
1167
+ return 1
1168
+ fi
1169
+
1170
+ say_verbose "Generated ${#download_links[@]} links."
1171
+ for link_index in ${!download_links[@]}
1172
do
- echo "Link: $link"
1173
+ say_verbose "Link $link_index: ${link_types[$link_index]}, ${effective_versions[$link_index]}, ${download_links[$link_index]}"
1174
1175
}
1176
0 commit comments