informational -> info

This commit is contained in:
fukusuket
2025-03-22 15:36:23 +09:00
parent 4ed4df8c25
commit 1a1a44ed17

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 -eq "informational") { "info" } else { $_.Level }
$level = if ($_.Level -match "informational") { "info" } else { $_.Level }
Write-Host -NoNewline "$($level): $($_.UsableCount) / $($_.TotalCount) ($($_.Percentage)%)" -ForegroundColor $color
if ($i -lt $usableRate.Count - 1)
{