commitizen / cz-cli

The commitizen command line utility. #BlackLivesMatter
http://commitizen.github.io/cz-cli/
MIT License
16.7k stars 547 forks source link

unable to commit after update to 2.9.6 #422

Open foxhound87 opened 7 years ago

foxhound87 commented 7 years ago

I got:

Error: No files added to staging! Did you forget to run git add?

After downgrading to 2.9.5 it worked.

jimthedev commented 7 years ago

@foxhound87 can you try again? I've tried it with 2.9.6 and it works. Are you sure you didn't just forget to run git add .?

jimthedev commented 7 years ago

Additionally if you can provide OS, Git version, adapter and version, node version that would be helpful. Thanks!

chriskevin commented 7 years ago

I think I am having the same issue on Ubuntu 14.04 LTS.

jimthedev commented 7 years ago

@chriskevin that is strange. Which version of the adapter are you on?

pekhota commented 7 years ago

The same for jira plugin

jimthedev commented 7 years ago

Can you please tell me what version of node, Linux, cz you are on?

pekhota commented 7 years ago

"devDependencies": { "commitizen": "^2.9.6", "cz-conventional-changelog": "^2.0.0", "cz-jira-smart-commit": "^2.0.1" }, "scripts": { "commit": "git-cz", "test": "echo \"Error: no test specified\" && exit 1" },

node -v : v6.11.0 OS: macOS Sierra 10.12.3

pekhota commented 7 years ago

any ideas?

jimthedev commented 7 years ago

Hmm. Well you do have two adapters in your devDependencies. Which one do you have defined as your actual adapter?