We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e229c53 commit 4866a29Copy full SHA for 4866a29
1 file changed
parser.go
@@ -3,7 +3,6 @@ package parser
3
4
import (
5
"errors"
6
- "fmt"
7
"regexp"
8
"strings"
9
)
@@ -80,12 +79,12 @@ func Parse(message string) (*Commit, error) {
80
79
currFooterValue = value
81
} else {
82
if inFooters {
83
- currFooterValue = fmt.Sprintf("%s\n%s", currFooterValue, msgLine)
+ currFooterValue = currFooterValue + "\n" + msgLine
84
85
if commit.Body == "" {
86
commit.Body = msgLine
87
88
- commit.Body += fmt.Sprintf("\n%s", msgLine)
+ commit.Body += "\n" + msgLine
89
}
90
91
0 commit comments