You've already forked go-semantic-release
refactor(angular): update default separator variable in angular
This commit is contained in:
@@ -89,7 +89,7 @@ func (a *angular) getRules() []Rule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *angular) analyze(commit shared.Commit, rule Rule) *shared.AnalyzedCommit {
|
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)
|
firstSplit := strings.SplitN(commit.Message, "\n", 2)
|
||||||
header := firstSplit[0]
|
header := firstSplit[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user