Skip to content

Commit 7f02153

Browse files
committed
Update Formatter.swift
1 parent 99cc959 commit 7f02153

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Sources/XcbeautifyLib/Formatter.swift

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import Foundation
22

33
public struct Formatter {
44
private let parser: Parser
5-
5+
66
public init(
77
colored: Bool = true,
88
renderer: Renderer,
99
preserveUnbeautifiedLines: Bool = false,
1010
additionalLines: @escaping () -> (String?)
1111
) {
12-
self.parser = Parser(
12+
parser = Parser(
1313
colored: colored,
1414
renderer: renderer,
1515
preserveUnbeautifiedLines: preserveUnbeautifiedLines,
@@ -20,5 +20,4 @@ public struct Formatter {
2020
public func parse(line: String) -> String? {
2121
parser.parse(line: line)
2222
}
23-
2423
}

0 commit comments

Comments
 (0)