mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-12 09:15:39 +02:00
chg: Output horizontally
This commit is contained in:
1 parent
55b3513edf
commit
f26a8bc6b2
1 file changed
+1
-1
@@ -108,7 +108,7 @@ function CalculateTotalUsableRate {
|
||||
function ShowRulesCountsByLevel {
|
||||
param ($usableRate, $msg, $colorMsg)
|
||||
Write-Host -NoNewline $msg
|
||||
$color = if ($colorMsg -match "Disabled") { "Red" } elseif ($colorMsg -match "Paritial") { "DarkYellow" } else { "White" }
|
||||
$color = if ($colorMsg -match "Disabled") { "Red" } elseif ($colorMsg -contains "Paritial") { "DarkYellow" } else { "White" }
|
||||
Write-Host "$colorMsg" -ForegroundColor $color
|
||||
$levelColorMap = [ordered]@{
|
||||
"critical" = "Red"
|
||||
|
||||
Reference in new issue
Block a user