Skip to content

Commit b24d6ca

Browse files
committed
[GH Usage] Changed the StringComparer value
1 parent a0e738f commit b24d6ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NuGetGallery.Core/GitHub/GitHubUsageConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public NuGetPackageGitHubInformation GetPackageInformation(string packageId)
3838

3939
private static IReadOnlyDictionary<string, NuGetPackageGitHubInformation> GetNuGetPackagesDependents(IReadOnlyCollection<RepositoryInformation> repositories)
4040
{
41-
var dependentsPerPackage = new Dictionary<string, List<RepositoryInformation>>(StringComparer.InvariantCultureIgnoreCase);
41+
var dependentsPerPackage = new Dictionary<string, List<RepositoryInformation>>(StringComparer.OrdinalIgnoreCase);
4242
foreach (var repo in repositories)
4343
{
4444
foreach (var dependency in repo.Dependencies)
@@ -59,7 +59,7 @@ private static IReadOnlyDictionary<string, NuGetPackageGitHubInformation> GetNuG
5959
entry => new NuGetPackageGitHubInformation(
6060
entry.Value.Count,
6161
entry.Value),
62-
StringComparer.InvariantCultureIgnoreCase);
62+
StringComparer.OrdinalIgnoreCase);
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)