You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a new error with this script today: msgRegex: (?:) does not have all mandatory capture groups ('type', 'scope', 'breaking', 'description')
Our config is OOTB, no change at all. So i searched a bit and it very much looks related to #163
I tried defining my own msgRegex with the validValue mentioned in the PR (/^(?<type>\w+)(?:\((?<scope>[^()]+)\))?(?<breaking>!)?:\s*(?<description>.+)/i) and it still doesn't work.
Even if conventionOverride.commitMessageRegexPattern is undefined, the RegExp is never null, so || conventionConfig.msgRegex is unreachable. Or maybe the || conventionConfig.msgRegex should be included in the RegExp?
I could bypass the issue by adding this line in my convention: