File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -26,5 +26,4 @@ if ($null -eq $settingsFilePath) {
2626
2727Set-GitHubOutput - Name CodePath - Value $codePath
2828Set-GitHubOutput - Name TestPath - Value $testPath
29- # Output empty string instead of null to avoid GitHub Actions converting null to the string "null"
3029Set-GitHubOutput - Name SettingsFilePath - Value ($null -eq $settingsFilePath ? ' ' : $settingsFilePath )
Original file line number Diff line number Diff line change @@ -104,15 +104,14 @@ Describe 'PSScriptAnalyzer' {
104104 $invokeParams = @ {
105105 Path = $Path
106106 Recurse = $true
107- Verbose = $true
108107 }
109108
110109 if ($hasSettingsFile ) {
111110 $invokeParams [' Settings' ] = $SettingsFilePath
112111 }
113112
114113 $logMessage = if ($hasSettingsFile ) {
115- " Invoke-ScriptAnalyzer -Path [$relativePath ] -Settings [$relativeSettingsFilePath ]"
114+ " Invoke-ScriptAnalyzer -Path [$relativePath ] -Recurse - Settings [$relativeSettingsFilePath ]"
116115 } else {
117116 " Invoke-ScriptAnalyzer -Path [$relativePath ] -Recurse (using default settings)"
118117 }
You can’t perform that action at this time.
0 commit comments