Skip to content

[Bug Report] Commitizen returns a failing exit code on success. #222

@jtpavlock

Description

@jtpavlock

Description

Using cz -c with other pre-commit hooks, it seems like commitizen returns a non-zero (i.e. failing) exit code even if all hooks pass and the commit is successful

commitizen version

1.23.0

Steps to Reproduce

Steps to reproduce the behavior:

  1. Run cz c with other git commit hooks enabled (I have them installed via pre-commit)

Expected Behavior

Should return exit code of 0 if all tests pass and the commit is successful

Screenshots
image

compared to normal:

image

Actual Behavior

Returns a non-zero exit code even if commit is successful. This is confusing behavior.

More Information

As it is now, it is hard to tell if a commit was successful or not.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions