Skip to content

Commit

Permalink
(chocolateyGH-506) Call ToLower() on Package.Id to fix issue with com…
Browse files Browse the repository at this point in the history
…paring packages' ids.
  • Loading branch information
DamianMaslanka5 committed Feb 19, 2018
1 parent 31f8544 commit cf95912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ChocolateyGui/Services/ChocolateyService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public async Task<IReadOnlyList<Tuple<string, SemanticVersion>>> GetOutdatedPack
var packages = await Task.Run(() => nugetService.upgrade_noop(chocoConfig, null));
var results = packages
.Where(p => !p.Value.Inconclusive)
.Select(p => Tuple.Create(p.Value.Package.Id, p.Value.Package.Version.ToNormalizedString()))
.Select(p => Tuple.Create(p.Value.Package.Id.ToLower(), p.Value.Package.Version.ToNormalizedString()))
.ToArray();
var parsed = results.Select(result => Tuple.Create(result.Item1, new SemanticVersion(result.Item2)));

Expand Down

0 comments on commit cf95912

Please sign in to comment.