mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
This commit is contained in:
@@ -3569,7 +3569,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
}
|
||||
|
||||
CopyItemLocalOrToSession(path, destinationPath, recurse, Force, null);
|
||||
if (_totalFiles > 0)
|
||||
if (Stopping || _copiedFiles == _totalFiles)
|
||||
{
|
||||
_copyStopwatch.Stop();
|
||||
var progress = new ProgressRecord(COPY_FILE_ACTIVITY_ID, " ", " ");
|
||||
|
||||
Reference in New Issue
Block a user