Skip to content

Commit cc54924

Browse files
use private for method selectedLines
1 parent f816314 commit cc54924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Generate.../SelectableGeneratorCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extension SelectableGeneratorCommand where Self: NSObject {
3636
completionHandler(nil)
3737
}
3838

39-
func selectedLines(with invocation: XCSourceEditorCommandInvocation, selections: [XCSourceTextRange]) -> [String] {
39+
private func selectedLines(with invocation: XCSourceEditorCommandInvocation, selections: [XCSourceTextRange]) -> [String] {
4040
let selectedColumns = selections.map { $0.start.line...$0.end.line }.flatMap { $0 }
4141
var selectedLines: [String] = []
4242
invocation.buffer.lines.enumerated().forEach { index, line in

0 commit comments

Comments
 (0)