We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b5394 commit a159c52Copy full SHA for a159c52
1 file changed
Commands/PipeScript/Export-PipeScript.ps1
@@ -258,6 +258,9 @@ function Export-Pipescript {
258
[long]$TotalInputFileLength = 0
259
[long]$TotalOutputFileLength = 0
260
261
+ # If we're only building one file, there's no point in parallelization.
262
+ if ($filesToBuild.Length -le 1) { $Serial = $true }
263
+
264
if (-not $startThreadJob) { continue }
265
$buildThreadJobs = [Ordered]@{}
266
$pendingBatch = @()
0 commit comments