Skip to content

Commit

Permalink
Fix the parserOpts in the getRecommendedVersion function. (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
anjerodev authored Jul 29, 2023
1 parent 7c90551 commit a4acfea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ConventionalChangelog extends Plugin {
this.debug({ increment, latestVersion, isPreRelease, preReleaseId });
this.debug('conventionalRecommendedBump', { options });
return new Promise((resolve, reject) =>
conventionalRecommendedBump(options, (err, result) => {
conventionalRecommendedBump(options, options?.parserOpts, (err, result) => {
this.debug({ err, result });
if (err) return reject(err);
let { releaseType } = result;
Expand Down

0 comments on commit a4acfea

Please sign in to comment.