From fa1a9c2eddd6331b2a6938343169034577cd9a62 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Wed, 2 Apr 2025 08:59:19 +0900 Subject: [PATCH] feat: verbose security --- WELAVerboseSecAudit.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WELAVerboseSecAudit.psm1 b/WELAVerboseSecAudit.psm1 index a15488a3..c1fa148f 100644 --- a/WELAVerboseSecAudit.psm1 +++ b/WELAVerboseSecAudit.psm1 @@ -233,10 +233,10 @@ System $msgLines = $msg -split "`n" foreach ($line in $msgLines) { - if ($line -match "\$(\w+)") { - $parts = $line -split "(\$\w+)" + if ($line -match '\$(\w+)') { + $parts = $line -split '(\$\w+)' foreach ($part in $parts) { - if ($part -match "\$(\w+)") { + if ($part -match '\$(\w+)') { Write-Host -NoNewline $part -ForegroundColor Red } else { Write-Host -NoNewline $part