refactor(angular): update default separator variable in angular

This commit is contained in:
maulik13
2021-02-22 14:11:59 +01:00
committed by Felix Wiedmann
parent 08ab3af547
commit 5a58d039fb

View File

@@ -89,7 +89,7 @@ func (a *angular) getRules() []Rule {
}
func (a *angular) analyze(commit shared.Commit, rule Rule) *shared.AnalyzedCommit {
tokenSep := append(a.config.TokenSeparators, conventionalFooterTokenSep[:]...)
tokenSep := append(a.config.TokenSeparators, angularFooterTokenSep[:]...)
firstSplit := strings.SplitN(commit.Message, "\n", 2)
header := firstSplit[0]