Skip to content

stop lowercasing description if second letter is also uppercase #102

Open
@revelt

Description

@revelt

Currently, we lowercase the whole description of a commit, but sometimes description starts with an abbreviation and lowercasing makes it look bad:

lowercasing

Let's add an additional check, is the second letter uppercase, and if so, skip the lowercase operation. I'm talking about the line https://github.com/commitizen/cz-conventional-changelog/blob/master/engine.js#L27

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions