2 Commits

2 changed files with 3 additions and 3 deletions

View File

@@ -236,11 +236,11 @@ func GenerateCommit(czCommit *CzCommit) string {
commit += "\n\n" commit += "\n\n"
} }
if czCommit.BreakingChange != nil { if czCommit.BreakingChange != nil {
commit += ("BREAKING CHANGE: " + *czCommit.BreakingChange) commit += "BREAKING CHANGE: " + *czCommit.BreakingChange
commit += "\n\n" commit += "\n\n"
} }
if czCommit.Closes != nil { if czCommit.Closes != nil {
commit += ("Closes fix " + *czCommit.Closes) commit += "Closes fix " + *czCommit.Closes
} }
return commit return commit
} }

2
go.mod
View File

@@ -1,3 +1,3 @@
module github.com/xiaoqidun/gitcz module github.com/xiaoqidun/gitcz
go 1.18 go 1.19