Skip to content

Commit cc6f59d

Browse files
committed
fix version
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent d01ba56 commit cc6f59d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (v *Version) SetAuthor(val string) *Version {
112112
func (v *Version) Title(tmpl *string) string {
113113
var buf bytes.Buffer
114114

115-
if tmpl != nil {
115+
if tmpl == nil {
116116
tmp := DefaultTitle
117117
tmpl = &tmp
118118
}

0 commit comments

Comments
 (0)