lint/lib/pwshlint.ps1

6 lines
182 B
PowerShell
Raw Normal View History

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