Skip to content

Commit

Permalink
chore: Adjust lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 7, 2024
1 parent 4265980 commit 0c68694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnoCheck/Checkups/DotNetWorkloadsCheckup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public override async Task<DiagnosticResult> Examine(SharedState history)

if (
availablePackageWorkloads.FirstOrDefault(ip => ip.id.Equals(rp.WorkloadManifestId, StringComparison.OrdinalIgnoreCase) && NuGetVersion.TryParse(ip.version, out var ipVersion) && ipVersion >= rpVersion) is { id: not null } available
&& installedWorkloads.Contains(rp.WorkloadManifestId)
&& installedWorkloads.Contains(rp.Id)
)
{
ReportStatus($"{available.id} ({available.version}/{available.sdkVersion}) installed.", Status.Ok);
Expand Down

0 comments on commit 0c68694

Please sign in to comment.