Skip to content

Commit 4d5b50f

Browse files
author
Charlike Mike Reagent
committed
fix: pass options to detect-next-version too
Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
1 parent d97be60 commit 4d5b50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default async function gitCommitsSince(options) {
3939

4040
return promise.then(async (result) => {
4141
if (typeof opts.name === 'string') {
42-
const res = await detectNextVersion(opts.name, commits);
42+
const res = await detectNextVersion(opts.name, commits, opts);
4343
return Object.assign({}, result, res);
4444
}
4545
return result;

0 commit comments

Comments
 (0)