Skip to content

Commit bb476ad

Browse files
committed
updated CI 12
1 parent 4d584a0 commit bb476ad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Tests/Compress-Archive.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ BeforeDiscovery {
251251
It "-WriteMode Create works" -Tag td1 {
252252
$sourcePath = "TestDrive:/SourceDir"
253253
$destinationPath = "TestDrive:/archive1.zip"
254-
Compress-Archive -Path $sourcePath -DestinationPath $destinationPath
254+
Compress-Archive -Path $sourcePath -DestinationPath $destinationPath -Verbose
255255
if ($IsWindows) {
256256
$t = Convert-Path $destinationPath
257257
7z l "${t}" | Write-Verbose -Verbose

src/CompressArchiveCommand.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ protected override void EndProcessing()
201201

202202
foreach (ArchiveAddition entry in archiveAdditions)
203203
{
204+
WriteVerbose(entry.EntryName);
205+
WriteObject(entry.EntryName);
206+
204207
// Update progress
205208
var percentComplete = numberOfAddedItems / (float)numberOfAdditions * 100f;
206209
progressRecord.StatusDescription = string.Format(Messages.ProgressDisplay, "{percentComplete:0.0}");

0 commit comments

Comments
 (0)