fix(analyzer/angular): fix regex to regonize merge commits

This commit is contained in:
Nightapes
2019-08-25 14:16:57 +02:00
parent 2c26c8aa6d
commit 829f2925ab
2 changed files with 6 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ const ANGULAR = "angular"
func newAngular() *angular {
return &angular{
regex: `(TAG)(?:\((.*)\))?: (.*)`,
regex: `^(TAG)(?:\((.*)\))?: (.*)$`,
log: log.WithField("analyzer", ANGULAR),
rules: []Rule{
{