From 188555f6d2e7fefefea0c4bd068d5289ee45bc38 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Sat, 22 Mar 2025 15:37:37 +0900 Subject: [PATCH] informational -> info --- WELAFunctions.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WELAFunctions.psm1 b/WELAFunctions.psm1 index 83ff96ae..f97000df 100644 --- a/WELAFunctions.psm1 +++ b/WELAFunctions.psm1 @@ -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) {