From 0c68694d23303757ba16797b30acbf3b013b4f30 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Wed, 6 Nov 2024 21:10:25 -0500 Subject: [PATCH] chore: Adjust lookup --- UnoCheck/Checkups/DotNetWorkloadsCheckup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs b/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs index 93f4fc3..6f61d3b 100644 --- a/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs +++ b/UnoCheck/Checkups/DotNetWorkloadsCheckup.cs @@ -115,7 +115,7 @@ public override async Task 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);