Remove some framework gating

This commit is contained in:
Matt Nadareski
2024-11-20 20:10:18 -05:00
parent ec4962a3c9
commit fa19304a6d
11 changed files with 12 additions and 98 deletions

View File

@@ -88,7 +88,7 @@ namespace ProtectionScan
foreach (string key in protections.Keys.OrderBy(k => k))
{
// Skip over files with no protection
if (protections[key] == null || !protections[key].Any())
if (protections[key] == null || protections[key].Count == 0)
continue;
string line = $"{key}: {string.Join(", ", [.. protections[key].OrderBy(p => p)])}";