mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 09:42:48 +01:00
informational -> info
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user