Skip to content

Commit d6cc057

Browse files
authored
fix: msgRegex missing group issue (#165)
See issue #164
1 parent 05aa000 commit d6cc057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function load(configFile) {
2727
conventionConfig.releaseTagGlobPattern = conventionOverride.releaseTagGlobPattern ||
2828
conventionConfig.releaseTagGlobPattern;
2929

30-
conventionConfig.msgRegex = RegExp(conventionOverride.commitMessageRegexPattern) || conventionConfig.msgRegex;
30+
conventionConfig.msgRegex = RegExp(conventionOverride.commitMessageRegexPattern || conventionConfig.msgRegex);
3131
conventionConfig.commitTypes = conventionOverride.commitTypes || conventionConfig.commitTypes;
3232
conventionConfig.featureCommitTypes = conventionOverride.featureCommitTypes || conventionConfig.featureCommitTypes;
3333
conventionConfig.commitScopes = conventionOverride.commitScopes || conventionConfig.commitScopes;

0 commit comments

Comments
 (0)