Skip to content

Commit d49d218

Browse files
committed
Merge branch 'diagnostics-formatter' of github.com:flashspys/swift-syntax into diagnostics-formatter
2 parents 972ec2f + 4bdc9af commit d49d218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDiagnostics/DiagnosticsFormatter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public struct DiagnosticsFormatter {
6969

7070
// If necessary, print a line that indicates that there was lines skipped in the source code
7171
if hasLineBeenSkipped && !annotatedSource.isEmpty {
72-
let lineMissingInfoLine = Array(repeating: " ", count: maxNumberOfDigits).joined(separator: "") + ""
72+
let lineMissingInfoLine = String(repeating: " ", count: maxNumberOfDigits) + ""
7373
annotatedSource.append("\(lineMissingInfoLine)\n")
7474
}
7575
hasLineBeenSkipped = false

0 commit comments

Comments
 (0)