File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Sources/swift-format/Subcommands Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ extension SwiftFormatCommand {
4040 }
4141
4242 func run( ) throws {
43- try performanceMeasurementOptions. countingInstructionsIfRequested {
43+ try performanceMeasurementOptions. printingInstructionCountIfRequested ( ) {
4444 let frontend = FormatFrontend ( lintFormatOptions: formatOptions, inPlace: inPlace)
4545 frontend. run ( )
4646 if frontend. diagnosticsEngine. hasErrors { throw ExitCode . failure }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ extension SwiftFormatCommand {
3232 var performanceMeasurementOptions : PerformanceMeasurementsOptions
3333
3434 func run( ) throws {
35- try performanceMeasurementOptions. countingInstructionsIfRequested {
35+ try performanceMeasurementOptions. printingInstructionCountIfRequested {
3636 let frontend = LintFrontend ( lintFormatOptions: lintOptions)
3737 frontend. run ( )
3838
You can’t perform that action at this time.
0 commit comments