File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ protected override void EndProcessing()
203203 {
204204 // Update progress
205205 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} ") ;
207207 WriteProgress ( progressRecord ) ;
208208
209209 if ( ShouldProcess ( target : entry . FileSystemInfo . FullName , action : Messages . Add ) )
@@ -219,7 +219,7 @@ protected override void EndProcessing()
219219
220220 // Once all items in the archive are processed, show progress as 100%
221221 // 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 } ") ;
223223 WriteProgress ( progressRecord ) ;
224224 }
225225 finally
You can’t perform that action at this time.
0 commit comments