Skip to content

Commit

Permalink
fix: pass options to detect-next-version too
Browse files Browse the repository at this point in the history
Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
  • Loading branch information
Charlike Mike Reagent committed Nov 7, 2018
1 parent d97be60 commit 4d5b50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default async function gitCommitsSince(options) {

return promise.then(async (result) => {
if (typeof opts.name === 'string') {
const res = await detectNextVersion(opts.name, commits);
const res = await detectNextVersion(opts.name, commits, opts);
return Object.assign({}, result, res);
}
return result;
Expand Down

0 comments on commit 4d5b50f

Please sign in to comment.