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.
2 parents 972ec2f + 4bdc9af commit d49d218Copy full SHA for d49d218
Sources/SwiftDiagnostics/DiagnosticsFormatter.swift
@@ -69,7 +69,7 @@ public struct DiagnosticsFormatter {
69
70
// If necessary, print a line that indicates that there was lines skipped in the source code
71
if hasLineBeenSkipped && !annotatedSource.isEmpty {
72
- let lineMissingInfoLine = Array(repeating: " ", count: maxNumberOfDigits).joined(separator: "") + " ┆"
+ let lineMissingInfoLine = String(repeating: " ", count: maxNumberOfDigits) + " ┆"
73
annotatedSource.append("\(lineMissingInfoLine)\n")
74
}
75
hasLineBeenSkipped = false
0 commit comments