diff --git a/CHANGELOG.md b/CHANGELOG.md index a736ae8..63c8ea9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Add new items at the end of the relevant section under **Unreleased**. - 'missing review manager link' - 'missing author link' - Remove warning for proposals with past due review period ([#94]) +- Include validation report as part of extract command verbose output ([#105]) ### Fixes @@ -96,3 +97,4 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co [#92]: https://github.com/swiftlang/swift-evolution-metadata-extractor/pull/92 [#93]: https://github.com/swiftlang/swift-evolution-metadata-extractor/pull/93 [#94]: https://github.com/swiftlang/swift-evolution-metadata-extractor/pull/94 +[#105]: https://github.com/swiftlang/swift-evolution-metadata-extractor/pull/105 diff --git a/Sources/EvolutionMetadataExtraction/ExtractionJob.swift b/Sources/EvolutionMetadataExtraction/ExtractionJob.swift index 1e53323..5e4d58e 100644 --- a/Sources/EvolutionMetadataExtraction/ExtractionJob.swift +++ b/Sources/EvolutionMetadataExtraction/ExtractionJob.swift @@ -251,6 +251,7 @@ extension ExtractionJob { } private static func writeEvolutionResultsAsJSON(results: EvolutionMetadata, outputURL: URL) throws { + verbosePrint(results.validationReport) print("Writing file '\(outputURL.lastPathComponent)' to\n'\(outputURL.absoluteURL.path())'\n") let jsonData = try results.jsonRepresentation