lint/lib/pwshlint.ps1

6 lines
182 B
PowerShell
Raw Normal View History

#!/usr/bin/pwsh
param(
[String]$SettingsPath,
[String]$FileToAnalyze
)
2020-06-19 17:11:40 -04:00
$ScriptAnalyzerResults = Invoke-ScriptAnalyzer -EnableExit -Settings $SettingsPath -Path $FileToAnalyze