()
| 37 | } |
| 38 | |
| 39 | func (m *mockCommit) HasBreakingFooter() bool { |
| 40 | for _, n := range m.notes { |
| 41 | if t := n.Token(); t == "BREAKING CHANGE" || t == "BREAKING-CHANGE" { |
| 42 | return true |
| 43 | } |
| 44 | } |
| 45 | return false |
| 46 | } |
| 47 | |
| 48 | func (m *mockCommit) BodyBlankLines() int { |
| 49 | if m.body == "" { |