We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353cbcc commit 7ed9e4cCopy full SHA for 7ed9e4c
scripts/main.ps1
@@ -11,10 +11,8 @@ $settingsFilePath = Resolve-Path -Path $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT
11
} | Format-List | Out-String
12
13
if (!(Test-Path -Path $settingsFilePath)) {
14
- Write-Error "Settings file not found at path: $settingsFilePath"
15
- exit 1
+ throw "Settings file not found at path: $settingsFilePath"
16
}
17
-
18
Set-GitHubOutput -Name CodePath -Value $codePath
19
Set-GitHubOutput -Name TestPath -Value $testPath
20
Set-GitHubOutput -Name SettingsFilePath -Value $settingsFilePath
0 commit comments