Open bitjson opened 8 years ago
Pull request will have to be made to Commitizen.
Reproduce:
npm install -g wip
wip with cz
mkdir test && cd test
git init
touch test.txt
wip
naenae
When naenae
executes git-cz, if the commit is canceled or fails, no error code is returned. This causes naenae
to return a success message when it should warn the user that changes are still staged and waiting for commit.
Commitizen doesn't return an error code, so the "naenae completed" box is shown even when files remain staged and uncommitted.