Suppress the output of building test tools in Compress-TestContent (#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.
This commit is contained in:
Dongbo Wang 2017-10-02 12:14:19 -07:00 committed by GitHub
parent 69bce66cf8
commit fa170a7e00

View file

@ -567,7 +567,7 @@ function Compress-TestContent {
$Destination
)
Publish-PSTestTools
$null = Publish-PSTestTools
$powerShellTestRoot = Join-Path $PSScriptRoot 'test'
Add-Type -AssemblyName System.IO.Compression.FileSystem