Skip to content

stop lowercasing description if second letter is also uppercase #102

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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