From d6cc0573adb967cab821a6c2ecdfd10fa76f253e Mon Sep 17 00:00:00 2001 From: fran-ink <171171801+fran-ink@users.noreply.github.com> Date: Tue, 3 Dec 2024 06:38:49 -0500 Subject: [PATCH] fix: msgRegex missing group issue (#165) See issue #164 --- lib/commands/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/config.js b/lib/commands/config.js index ed267e3..19cac81 100644 --- a/lib/commands/config.js +++ b/lib/commands/config.js @@ -27,7 +27,7 @@ function load(configFile) { conventionConfig.releaseTagGlobPattern = conventionOverride.releaseTagGlobPattern || conventionConfig.releaseTagGlobPattern; - conventionConfig.msgRegex = RegExp(conventionOverride.commitMessageRegexPattern) || conventionConfig.msgRegex; + conventionConfig.msgRegex = RegExp(conventionOverride.commitMessageRegexPattern || conventionConfig.msgRegex); conventionConfig.commitTypes = conventionOverride.commitTypes || conventionConfig.commitTypes; conventionConfig.featureCommitTypes = conventionOverride.featureCommitTypes || conventionConfig.featureCommitTypes; conventionConfig.commitScopes = conventionOverride.commitScopes || conventionConfig.commitScopes;