From a4acfeac76369937a6566d698a5ae9180eceb413 Mon Sep 17 00:00:00 2001 From: Jepri <84803700+JepriCreations@users.noreply.github.com> Date: Sat, 29 Jul 2023 16:15:53 +0700 Subject: [PATCH] Fix the parserOpts in the getRecommendedVersion function. (#64) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b9d2007..abeafe5 100644 --- a/index.js +++ b/index.js @@ -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;