Skip to content

Commit aa44f26

Browse files
committed
Format CodeGenerationFormat.swift
1 parent 35178f6 commit aa44f26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CodeGeneration/Sources/Utils/CodeGenerationFormat.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ public class CodeGenerationFormat: BasicFormat {
137137
}
138138
decreaseIndentationLevel()
139139
if let lastChild = formattedChildren.last {
140-
let nextTokenStartsWithNewline = lastChild.nextToken(viewMode: .sourceAccurate)?.leadingTrivia.first?.isNewline ?? false
140+
let nextTokenStartsWithNewline =
141+
lastChild.nextToken(viewMode: .sourceAccurate)?.leadingTrivia.first?.isNewline ?? false
141142
if !nextTokenStartsWithNewline {
142143
formattedChildren[formattedChildren.count - 1] = lastChild.with(
143144
\.trailingTrivia,

0 commit comments

Comments
 (0)