We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a30825 commit 4bdc9afCopy full SHA for 4bdc9af
Sources/SwiftDiagnostics/DiagnosticsFormatter.swift
@@ -70,7 +70,7 @@ public struct DiagnosticsFormatter {
70
71
// If necessary, print a line that indicates that there was lines skipped in the source code
72
if hasLineBeenSkipped && !annotatedSource.isEmpty {
73
- let lineMissingInfoLine = Array(repeating: " ", count: maxNumberOfDigits).joined(separator: "") + " ┆"
+ let lineMissingInfoLine = String(repeating: " ", count: maxNumberOfDigits) + " ┆"
74
annotatedSource.append("\(lineMissingInfoLine)\n")
75
}
76
hasLineBeenSkipped = false
0 commit comments