File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ function Expand-TarBz2 {
8686 $Stage = Join-Path $Destination " _stage"
8787 New-Item - ItemType Directory - Force - Path $Stage | Out-Null
8888
89- & $SevenZip x - y - bb0 " -o$Stage " $Archive
89+ & $SevenZip x - y - bb0 " -o$Stage " $Archive | Out-Null
9090 if ($LASTEXITCODE -ne 0 ) {
9191 throw " 7-Zip failed to decompress $Archive with exit code $LASTEXITCODE "
9292 }
@@ -96,7 +96,7 @@ function Expand-TarBz2 {
9696 throw " 7-Zip did not produce a .tar payload from $Archive "
9797 }
9898
99- & $SevenZip x - y - bb0 " -o$Destination " $TarArchive.FullName
99+ & $SevenZip x - y - bb0 " -o$Destination " $TarArchive.FullName | Out-Null
100100 if ($LASTEXITCODE -ne 0 ) {
101101 throw " 7-Zip failed to extract $ ( $TarArchive.Name ) with exit code $LASTEXITCODE "
102102 }
@@ -110,7 +110,7 @@ function Expand-TarBz2 {
110110 throw " 7-Zip or tar.exe is required to extract micromamba on Windows"
111111 }
112112
113- & $Tar.Source - xjf $Archive - C $Destination
113+ & $Tar.Source - xjf $Archive - C $Destination | Out-Null
114114 if ($LASTEXITCODE -ne 0 ) {
115115 throw " tar.exe failed to extract $Archive with exit code $LASTEXITCODE "
116116 }
You can’t perform that action at this time.
0 commit comments