Fix XcodeReporter message

This commit is contained in:
Victor Gama 2019-12-09 14:15:08 -03:00 committed by GitHub
parent 6c7ac80a39
commit fcb9efd567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ public struct XcodeReporter: Reporter {
public func report(sources: [SourceDetail]) {
let diagnosticEngine = makeDiagnosticEngine()
for source in sources {
let message = Diagnostic.Message(.warning, "Pecker: \(source.sourceKind) \(source.name) was never used; conside remove it")
let message = Diagnostic.Message(.warning, "Pecker: \(source.sourceKind) \(source.name) was never used; consider removing it")
diagnosticEngine.diagnose(message, location: source.location.toSSLocation, actions: nil)
}
}