diff --git a/Build-Toolkit-Components.ps1 b/Build-Toolkit-Components.ps1 index adabd38d..ce44a40c 100644 --- a/Build-Toolkit-Components.ps1 +++ b/Build-Toolkit-Components.ps1 @@ -120,9 +120,7 @@ if ($NupkgOutput -and -not $PreviewVersion) { function Invoke-MSBuildWithBinlog { param ( - [string]$TargetHeadPath, - [switch]$EnableBinLogs, - [string]$BinlogOutput + [string]$TargetHeadPath ) # Reset build args to default diff --git a/Build-Toolkit-Gallery.ps1 b/Build-Toolkit-Gallery.ps1 index 23dd8a3f..72070fa0 100644 --- a/Build-Toolkit-Gallery.ps1 +++ b/Build-Toolkit-Gallery.ps1 @@ -77,7 +77,7 @@ Param ( [switch]$Verbose ) -if ($ExcludeMultiTargets -eq $null) +if ($null -eq $ExcludeMultiTargets) { $ExcludeMultiTargets = @() } @@ -118,9 +118,7 @@ if ($Heads -eq 'all') { function Invoke-MSBuildWithBinlog { param ( - [string]$TargetHeadPath, - [switch]$EnableBinLogs, - [string]$BinlogOutput + [string]$TargetHeadPath ) # Reset build args to default