Skip to content

Commit 85414d8

Browse files
jonasfranztechknowlogick
authored andcommitted
Show second line by using >= 1 instead of > 1 (#4251)
Signed-off-by: Jonas Franz <[email protected]>
1 parent 3aafa04 commit 85414d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/templates/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ func RenderCommitBody(msg, urlPrefix string, metas map[string]string) template.H
323323

324324
// IsMultilineCommitMessage checks to see if a commit message contains multiple lines.
325325
func IsMultilineCommitMessage(msg string) bool {
326-
return strings.Count(strings.TrimSpace(msg), "\n") > 1
326+
return strings.Count(strings.TrimSpace(msg), "\n") >= 1
327327
}
328328

329329
// Actioner describes an action

0 commit comments

Comments
 (0)