mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user