We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As setup is loaded with https://github.com/CookPete/auto-changelog/blob/4ac883029e01f57d1b57605614b36836e42ce3ca/src/template.js#L82
it is impossible to provide absolute path to the file and it has to be located in pwd.
Would it be possible to allow absolute paths for --handlebars-setup (and possibly all other options that take path)?
--handlebars-setup
The text was updated successfully, but these errors were encountered:
Would changing to just const setup = require(handlebarsSetup) break existing implementations?
const setup = require(handlebarsSetup)
Sorry, something went wrong.
You could check if provided path starts with / or not. If someone put relative path as /path/to/file/in/cwd and it works then for me that is a bug.
/
/path/to/file/in/cwd
If it was up to me, that should work in the following way: path starts with / – do nothing, else join with cwd.
6592ef2
No branches or pull requests
As setup is loaded with
https://github.com/CookPete/auto-changelog/blob/4ac883029e01f57d1b57605614b36836e42ce3ca/src/template.js#L82
it is impossible to provide absolute path to the file and it has to be located in pwd.
Would it be possible to allow absolute paths for
--handlebars-setup
(and possibly all other options that take path)?The text was updated successfully, but these errors were encountered: