Enable Exit catch

This commit is contained in:
Justin Grote 2020-06-19 21:11:40 +00:00
parent 507afd74a7
commit 3e4ad2fcdb

View file

@ -3,4 +3,4 @@ param(
[String]$SettingsPath,
[String]$FileToAnalyze
)
Invoke-ScriptAnalyzer -Settings $SettingsPath -Path $FileToAnalyze
$ScriptAnalyzerResults = Invoke-ScriptAnalyzer -EnableExit -Settings $SettingsPath -Path $FileToAnalyze