File tree 1 file changed +2
-0
lines changed
Chocolatey.Cake.Recipe/Content
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ BuildParameters.Tasks.PSScriptAnalyzerTask = Task("Run-PSScriptAnalyzer")
41
41
. WithModule ( "ConvertToSARIF" )
42
42
. WithModule ( "Microsoft.PowerShell.Management" )
43
43
. WithModule ( "Microsoft.PowerShell.Utility" )
44
+ . OutputToAppConsole ( false )
44
45
. WithArguments ( args => {
45
46
args . AppendQuoted ( "AnalyzePath" , PSScriptAnalyzerSetting . AnalysisPath . ToString ( ) )
46
47
. AppendQuoted ( "SettingsPath" , PSScriptAnalyzerSetting . SettingsPath . ToString ( ) )
@@ -66,6 +67,7 @@ BuildParameters.Tasks.PSScriptAnalyzerTask = Task("Run-PSScriptAnalyzer")
66
67
. WithModule ( "ConvertToSARIF" )
67
68
. WithModule ( "Microsoft.PowerShell.Management" )
68
69
. WithModule ( "Microsoft.PowerShell.Utility" )
70
+ . OutputToAppConsole ( false )
69
71
. WithArguments ( args => {
70
72
args . AppendQuoted ( "AnalyzePath" , BuildParameters . RootDirectoryPath . ToString ( ) )
71
73
. AppendQuoted ( "SettingsPath" , settingsFile . ToString ( ) )
You can’t perform that action at this time.
0 commit comments