Skip to content

Commit

Permalink
fix: msgRegex missing group issue (#165)
Browse files Browse the repository at this point in the history
See issue #164
  • Loading branch information
fran-ink authored Dec 3, 2024
1 parent 05aa000 commit d6cc057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6cc057

Please sign in to comment.