Closed rbutera closed 9 years ago
Same here :+1:
Thanks for finding this. I'm using iojs 1.2.0 but will have a look to see why note 0.12 isn't working. 0.10 won't support back ticks so we'd need to transpile somehow.
Can't fork your cz-conventional-changelog
as it's empty now.
Using the source code I got with npm install cz-conventional-changelog
for now.
Edit cz-conventional-changelog/index.js:80
:
commit(answers.type + '(' + answers.scope + '): ' + answers.subject.slice(0, 100) + '\n\n' + answers.body.slice(0, 100) + '\n\n' + answers.footer.slice(0, 100))
But yeah, it works.
There are like 8 strings. Just write them out with double quotes? Seems a bit like going Death Star shopping to get rid of the weeds in your back garden.
Also it's more than a little ironic that a project that is all about best practices and being a good 'citizen' wasn't tested on the most popular node version. At all.
I'm only teasing :p. Fantastic idea and I can't wait to use it. On Thu, 23 Apr 2015 at 12:47, Jim Cummins notifications@github.com wrote:
Thanks for finding this. I'm using iojs 1.2.0 but will have a look to see why note 0.12 isn't working. 0.10 won't support back ticks so we'd need to transpile somehow.
— Reply to this email directly or view it on GitHub https://github.com/commitizen/cz-cli/issues/2#issuecomment-95558314.
@raibutera @kytwb Thank you for working on this. The irony of the good citizen mantra is not lost on me. Thanks for bearing with me! When I created it, I totally forgot that I had switched my nvm global to iojs so this is a bug caused 100% by me and we should probably fix using your much simpler suggestions. :grin:
cz-conventional-changelog 1.0.1 released. thanks @kytwb!
I've tried using node v0.10.37 (which I figured wasn't likely to work after seeing the backticks) and v0.12.2 (via nvm).. but no matter what i try I can't get
git cz
to execute successfully.error:
my .cz.json
{ "path": "node_modules/cz-conventional-changelog/" }