We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9abfd71 commit b013966Copy full SHA for b013966
‎scripts/main.ps1‎
@@ -12,6 +12,8 @@ if (-not [string]::IsNullOrEmpty($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Setti
12
} catch {
13
Write-Warning "Settings file not found at path: $($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_SettingsFilePath). Using default settings."
14
}
15
+} else {
16
+ $settingsFilePath = ''
17
18
19
if ($null -eq $settingsFilePath) {
@@ -26,4 +28,4 @@ if ($null -eq $settingsFilePath) {
26
28
27
29
Set-GitHubOutput -Name CodePath -Value $codePath
30
Set-GitHubOutput -Name TestPath -Value $testPath
-Set-GitHubOutput -Name SettingsFilePath -Value ($null -eq $settingsFilePath ? '' : $settingsFilePath)
31
+Set-GitHubOutput -Name SettingsFilePath -Value $settingsFilePath
0 commit comments