mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
This reverts commit 2e0b51d970.
This commit is contained in:
+2
-2
@@ -1793,8 +1793,8 @@ namespace Microsoft.PowerShell.Commands
|
||||
private void WriteProgress(string statusDescription, int? percentComplete, int? secondsRemaining)
|
||||
{
|
||||
ProgressRecordType recordType;
|
||||
if (secondsRemaining.HasValue && secondsRemaining.GetValueOrDefault() == 0 &&
|
||||
percentComplete.HasValue && percentComplete.GetValueOrDefault() == 100)
|
||||
if (secondsRemaining.HasValue && secondsRemaining.Value == 0 &&
|
||||
percentComplete.HasValue && percentComplete.Value == 100)
|
||||
{
|
||||
recordType = ProgressRecordType.Completed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user