We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99cc959 commit 7f02153Copy full SHA for 7f02153
Sources/XcbeautifyLib/Formatter.swift
@@ -2,14 +2,14 @@ import Foundation
2
3
public struct Formatter {
4
private let parser: Parser
5
-
+
6
public init(
7
colored: Bool = true,
8
renderer: Renderer,
9
preserveUnbeautifiedLines: Bool = false,
10
additionalLines: @escaping () -> (String?)
11
) {
12
- self.parser = Parser(
+ parser = Parser(
13
colored: colored,
14
renderer: renderer,
15
preserveUnbeautifiedLines: preserveUnbeautifiedLines,
@@ -20,5 +20,4 @@ public struct Formatter {
20
public func parse(line: String) -> String? {
21
parser.parse(line: line)
22
}
23
24
0 commit comments