Skip to content

Exception occurs when subject is not provided #46

@Lee-W

Description

@Lee-W

Screen Shot 2019-11-08 at 5 51 42 PM

It happens due to this line.
https://github.com/Woile/commitizen/blob/master/commitizen/cz/conventional_commits/conventional_commits.py#L29

In cz-cli, they simple ignore it and generate an empty commiit.

Screen Shot 2019-11-08 at 5 51 50 PM

I like your idea more, but it seems to me that we can handle the exception in a better way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions