diff --git a/.azure-pipelines/code-sign.yml b/.azure-pipelines/code-sign.yml
index 6b9a0c45b911..209b5fba6a57 100644
--- a/.azure-pipelines/code-sign.yml
+++ b/.azure-pipelines/code-sign.yml
@@ -38,14 +38,14 @@ jobs:
displayName: 'Install PowerShellGet [v2.1.3 has a Publish-Module bug]'
- task: DotNetCoreCLI@2
- displayName: Build
+ displayName: Build For Target Module
condition: ne('${{ parameters.TargetModule }}', 'none')
inputs:
command: custom
custom: msbuild
arguments: 'build.proj /t:"Build;CopyAboutTopics;GenerateHelp" /p:"Configuration=Release;GenerateDocumentationFile=true;TargetModule=${{ parameters.TargetModule }}"'
- task: DotNetCoreCLI@2
- displayName: Build
+ displayName: Build For Modified Modules
condition: eq('${{ parameters.TargetModule }}', 'none')
inputs:
command: custom
diff --git a/build.proj b/build.proj
index a192adcca31a..259304d01ff0 100644
--- a/build.proj
+++ b/build.proj
@@ -221,7 +221,7 @@
-
+
diff --git a/tools/StaticAnalysis/ExampleAnalyzer/utils.ps1 b/tools/StaticAnalysis/ExampleAnalyzer/utils.ps1
index 13b58ce46a8e..351e0fc0fb8a 100644
--- a/tools/StaticAnalysis/ExampleAnalyzer/utils.ps1
+++ b/tools/StaticAnalysis/ExampleAnalyzer/utils.ps1
@@ -494,10 +494,10 @@ function Get-ScriptAnalyzerResult {
# Invoke PSScriptAnalyzer : input scriptblock, output error set in $result with property: RuleName, Message, Extent
if ($null -eq $RulePaths) {
- $analysisResults = Invoke-ScriptAnalyzer -Path $ScriptPath -IncludeDefaultRules:$IncludeDefaultRules.IsPresent -Debug
+ $analysisResults = Invoke-ScriptAnalyzer -Path $ScriptPath -IncludeDefaultRules:$IncludeDefaultRules.IsPresent
}
else {
- $analysisResults = Invoke-ScriptAnalyzer -Path $ScriptPath -CustomRulePath $RulePaths -IncludeDefaultRules:$IncludeDefaultRules.IsPresent -Debug
+ $analysisResults = Invoke-ScriptAnalyzer -Path $ScriptPath -CustomRulePath $RulePaths -IncludeDefaultRules:$IncludeDefaultRules.IsPresent
}
$errors = @()
foreach($analysisResult in $analysisResults){