File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ protected override void EndProcessing()
203
203
{
204
204
// Update progress
205
205
var percentComplete = numberOfAddedItems / ( float ) numberOfAdditions * 100f ;
206
- progressRecord . StatusDescription = string . Format ( Messages . ProgressDisplay , "{percentComplete:0.0}" ) ;
206
+ progressRecord . StatusDescription = string . Format ( Messages . ProgressDisplay , $ "{ percentComplete : 0.0} ") ;
207
207
WriteProgress ( progressRecord ) ;
208
208
209
209
if ( ShouldProcess ( target : entry . FileSystemInfo . FullName , action : Messages . Add ) )
@@ -219,7 +219,7 @@ protected override void EndProcessing()
219
219
220
220
// Once all items in the archive are processed, show progress as 100%
221
221
// This code is here and not in the loop because we want it to run even if there are no items to add to the archive
222
- progressRecord . StatusDescription = string . Format ( Messages . ProgressDisplay , " 100.0") ;
222
+ progressRecord . StatusDescription = string . Format ( Messages . ProgressDisplay , $ " { 100.0 : 0.0 } ") ;
223
223
WriteProgress ( progressRecord ) ;
224
224
}
225
225
finally
You can’t perform that action at this time.
0 commit comments