informational -> info

This commit is contained in:
fukusuket
2025-03-22 15:37:37 +09:00
parent 1a1a44ed17
commit 188555f6d2

View File

@@ -194,7 +194,7 @@ function ShowRulesCountsByLevel {
Write-Host -NoNewline " - "
$usableRate | Sort-Object { $levelColorMap.Keys.IndexOf($_.Level) } | ForEach-Object {
$color = $levelColorMap[$_.Level]
$level = if ($_.Level -match "informational") { "info" } else { $_.Level }
$level = if ($_.Level -eq "informational") { "info" } else { $_.Level }
Write-Host -NoNewline "$($level): $($_.UsableCount) / $($_.TotalCount) ($($_.Percentage)%)" -ForegroundColor $color
if ($i -lt $usableRate.Count - 1)
{