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 aa0f779 commit 88d8f07Copy full SHA for 88d8f07
test/dotnet-new.Tests/DotnetNewDetailsTest.Approval.cs
@@ -190,7 +190,7 @@ private async Task<string> GetLatestVersion(string packageName)
190
{
191
using (HttpClient client = new HttpClient())
192
193
- string json = await client.GetStringAsync($"https://api.nuget.org/v3-flatcontainer/{packageName}/index.json");
+ string json = await client.GetStringAsync($"https://api.nuget.org/v3-flatcontainer/{packageName.ToLowerInvariant()}/index.json");
194
JObject obj = JObject.Parse(json);
195
196
var versions = obj["versions"]?.ToObject<List<string>>();
0 commit comments