mirror of
https://github.com/xiaoqidun/gitcz.git
synced 2024-11-23 16:06:45 +08:00
This commit is contained in:
parent
d36f61bc80
commit
8168b719fd
4
gitcz.go
4
gitcz.go
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user