mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-05-09 12:52:35 +02:00
chg: Output horizontally
This commit is contained in:
@@ -98,7 +98,7 @@ function ShowRulesCountsByLevel {
|
||||
$i = 0
|
||||
$usableRate | Sort-Object { $levelColorMap.Keys.IndexOf($_.Level) } | ForEach-Object {
|
||||
$color = $levelColorMap[$_.Level]
|
||||
Write-Host -NoNewline "$($_.Level) rules: $($_.UsableCount) / $($_.TotalCount) ($($_.Percentage)%)" -ForegroundColor $color
|
||||
Write-Host -NoNewline " - $($_.Level) rules: $($_.UsableCount) / $($_.TotalCount) ($($_.Percentage)%)" -ForegroundColor $color
|
||||
if ($i -lt $usableRate.Count - 1)
|
||||
{
|
||||
Write-Host -NoNewline ", "
|
||||
|
||||
Reference in New Issue
Block a user