From 76d0795660673d95e801ceb7c1461d20188782bc Mon Sep 17 00:00:00 2001 From: Bill Long Date: Mon, 16 Aug 2021 18:20:06 -0500 Subject: [PATCH] Add Verbose output to track down rule error --- .build/CodeFormatter.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.build/CodeFormatter.ps1 b/.build/CodeFormatter.ps1 index b3898396e1..1c2244d97d 100644 --- a/.build/CodeFormatter.ps1 +++ b/.build/CodeFormatter.ps1 @@ -119,7 +119,7 @@ foreach ($file in $scriptFiles) { $filesFailed = $true } - $analyzerResults = Invoke-ScriptAnalyzer -Path $file -Settings $repoRoot\PSScriptAnalyzerSettings.psd1 + $analyzerResults = Invoke-ScriptAnalyzer -Path $file -Settings $repoRoot\PSScriptAnalyzerSettings.psd1 -Verbose if ($null -ne $analyzerResults) { $filesFailed = $true $analyzerResults | Format-Table -AutoSize