Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--handlebars-setup not defined correctly #109

Closed
dabari opened this issue May 13, 2019 · 1 comment
Closed

--handlebars-setup not defined correctly #109

dabari opened this issue May 13, 2019 · 1 comment

Comments

@dabari
Copy link
Contributor

dabari commented May 13, 2019

--handlebars-setup file.js is interpreted as boolean and therefore the JS-file is not found (an error is thrown).
https://github.com/CookPete/auto-changelog/blob/4ff20fd9c83b61017c348130fabb9e067d0667fe/src/template.js#L78

The right definition in:
https://github.com/CookPete/auto-changelog/blob/4ff20fd9c83b61017c348130fabb9e067d0667fe/src/run.js#L46

should be something like: .option('--handlebars-setup <file>', 'handlebars setup file') see description https://github.com/tj/commander.js#common-option-types-boolean-and-value

thanks, great work

@cookpete
Copy link
Owner

Fixed in #110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants