Skip to content

Commit

Permalink
Trivial title fix. (#59)
Browse files Browse the repository at this point in the history
* Title fix.

* Update Changelog.md

Co-authored-by: Antoine van der Lee <[email protected]>
  • Loading branch information
davidsteppenbeck and AvdLee authored Feb 28, 2020
1 parent fc4774f commit 17586b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
- Merge release 1.4.0 into master ([#53](https://github.com/WeTransfer/Diagnostics/pull/53))

### 1.4.0

- Migrate to Bitrise & Danger-Swift ([#52](https://github.com/WeTransfer/Diagnostics/pull/52)) via @AvdLee
- Add charset utf-8 to html head ([#50](https://github.com/WeTransfer/Diagnostics/pull/50)) via @AvdLee

Expand Down
3 changes: 2 additions & 1 deletion Sources/Reporters/LogsReporter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Foundation
struct LogsReporter: DiagnosticsReporting {

static var title: String = "Logs"

static var diagnostics: String {
guard let data = DiagnosticsLogger.standard.readLog(), let logs = String(data: data, encoding: .utf8) else {
return "Parsing the log failed"
Expand All @@ -22,7 +23,7 @@ struct LogsReporter: DiagnosticsReporting {
}

static func report() -> DiagnosticsChapter {
return DiagnosticsChapter(title: "Logs", diagnostics: diagnostics, formatter: self)
return DiagnosticsChapter(title: title, diagnostics: diagnostics, formatter: self)
}
}

Expand Down

0 comments on commit 17586b3

Please sign in to comment.