informational -> info

This commit is contained in:
fukusuket
2025-03-22 15:27:48 +09:00
parent e23d6430a1
commit 4ed4df8c25

View File

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