File tree 2 files changed +2
-2
lines changed
Sources/swift-format/Subcommands
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ extension SwiftFormatCommand {
40
40
}
41
41
42
42
func run( ) throws {
43
- try performanceMeasurementOptions. countingInstructionsIfRequested {
43
+ try performanceMeasurementOptions. printingInstructionCountIfRequested ( ) {
44
44
let frontend = FormatFrontend ( lintFormatOptions: formatOptions, inPlace: inPlace)
45
45
frontend. run ( )
46
46
if frontend. diagnosticsEngine. hasErrors { throw ExitCode . failure }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ extension SwiftFormatCommand {
32
32
var performanceMeasurementOptions : PerformanceMeasurementsOptions
33
33
34
34
func run( ) throws {
35
- try performanceMeasurementOptions. countingInstructionsIfRequested {
35
+ try performanceMeasurementOptions. printingInstructionCountIfRequested {
36
36
let frontend = LintFrontend ( lintFormatOptions: lintOptions)
37
37
frontend. run ( )
38
38
You can’t perform that action at this time.
0 commit comments