Skip to content

Commit

Permalink
[bug fix] Fix capitalization behavior and toPasteboard comment (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
namolnad committed Mar 3, 2019
1 parent e90a12f commit 423d656
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ final class CompareCommand: Command {
*/
fileprivate(set) var releaseManager: String?

/// Copy the final output to the system pasteboard.
/**
* Copy the final output to the system pasteboard. (Unavailable
* on Linux)
*/
fileprivate(set) var toPasteBoard: Bool
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/FinchCore/Section/Line/FormatComponent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ extension FormatComponent: LineOutputtable {
return "\(prefix)\(contributor.handle)"
case .message:
if context.sectionInfo.capitalizesMessage {
return components.message.capitalized
return String(components.message.prefix(1).capitalized + components.message.dropFirst())
} else {
return components.message
}
Expand Down

0 comments on commit 423d656

Please sign in to comment.