Skip to content

Commit fa170a7

Browse files
authored
Suppress the output of building test tools in Compress-TestContent (PowerShell#4957)
When uploading CodeCoverage artifacts, `Compress-TestContent` is called which calls `Publish-PSTestTools` to build test tools. The build output was captured by `$codeCoverageArtifacts` which causes `Push-AppveyorArtifact` to spit out a lot of errors. The issue is fixed by this change.
1 parent 69bce66 commit fa170a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ function Compress-TestContent {
567567
$Destination
568568
)
569569

570-
Publish-PSTestTools
570+
$null = Publish-PSTestTools
571571
$powerShellTestRoot = Join-Path $PSScriptRoot 'test'
572572
Add-Type -AssemblyName System.IO.Compression.FileSystem
573573

0 commit comments

Comments
 (0)