Skip to content

Commit

Permalink
(maint) Disable running of PSScriptAnalyzer
Browse files Browse the repository at this point in the history
There is a problem with runing PSScriptAnalyzer through our build scripts
that prevents a successful run on GitHub Action, and on our internal build
systems.

As such we disable the analyzer here now.
  • Loading branch information
AdmiringWorm committed Jan 17, 2024
1 parent 2358354 commit cfac51e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ BuildParameters.SetParameters(
//getFilesToObfuscate: getFilesToObfuscate
preferDotNetGlobalToolUsage: !IsRunningOnWindows(),
shouldRunNuGet: IsRunningOnWindows(),
shouldRunOpenCover: false, // We disable open cover as it does not work properly with VS2017 style projects.
shouldRunInspectCode: false // Current version of inspect code can not run against VS2017 style projects.
shouldRunOpenCover: false, // We disable open cover as it does not work properly with VS2017 style projects.
shouldRunInspectCode: false, // Current version of inspect code can not run against VS2017 style projects.
shouldRunPSScriptAnalyzer: false
);

ToolSettings.SetToolSettings(context: Context);
Expand Down

0 comments on commit cfac51e

Please sign in to comment.