function conventionalChangelog (options, context, gitRawCommitsOpts, parserOpts, writerOpts, gitRawExecOpts) {
it's expecting 6 arguments.
I am using conventional-changelog package directly and I need to pass gitRawExecOpts because the working directory is different from the destination directory where git command should be run.
If it's okay, I will open a PR to add the 6th argument.
Hello, I'm not sure if this is a bug or not.
If you look at https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog/index.js#L23
it's calling
conventionalChangelogCore
with 5 arguments.However, if you look at https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-core/index.js#L13
it's expecting 6 arguments.
I am using
conventional-changelog
package directly and I need to passgitRawExecOpts
because the working directory is different from the destination directory where git command should be run.If it's okay, I will open a PR to add the 6th argument.