Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/_OpenAPIGeneratorCore/Diagnostics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public struct StdErrPrintingDiagnosticCollector: DiagnosticCollector, Sendable {
/// Emits a diagnostic message to standard error.
///
/// - Parameter diagnostic: The diagnostic message to emit.
public func emit(_ diagnostic: Diagnostic) { stdErrHandle.write(diagnostic.description) }
public func emit(_ diagnostic: Diagnostic) { stdErrHandle.write(diagnostic.description + "\n") }
}

/// A no-op collector, silently ignores all diagnostics.
Expand Down