Skip to content

Commit d8171a1

Browse files
committed
Merge branch 'hotfix/0.26.3'
* hotfix/0.26.3: (#139) Another attempt to fix this build
2 parents bb2e60b + 31061d4 commit d8171a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Chocolatey.Cake.Recipe/Content/psscriptanalyzer.cake

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ BuildParameters.Tasks.PSScriptAnalyzerTask = Task("Run-PSScriptAnalyzer")
4141
.WithModule("ConvertToSARIF")
4242
.WithModule("Microsoft.PowerShell.Management")
4343
.WithModule("Microsoft.PowerShell.Utility")
44+
.OutputToAppConsole(false)
4445
.WithArguments(args => {
4546
args.AppendQuoted("AnalyzePath", PSScriptAnalyzerSetting.AnalysisPath.ToString())
4647
.AppendQuoted("SettingsPath", PSScriptAnalyzerSetting.SettingsPath.ToString())
@@ -66,6 +67,7 @@ BuildParameters.Tasks.PSScriptAnalyzerTask = Task("Run-PSScriptAnalyzer")
6667
.WithModule("ConvertToSARIF")
6768
.WithModule("Microsoft.PowerShell.Management")
6869
.WithModule("Microsoft.PowerShell.Utility")
70+
.OutputToAppConsole(false)
6971
.WithArguments(args => {
7072
args.AppendQuoted("AnalyzePath", BuildParameters.RootDirectoryPath.ToString())
7173
.AppendQuoted("SettingsPath", settingsFile.ToString())

0 commit comments

Comments
 (0)