Skip to content

Commit d01ba56

Browse files
committed
fix version
Signed-off-by: Markus Blaschke <[email protected]>
1 parent f022d70 commit d01ba56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (v *Version) Title(tmpl *string) string {
133133
}
134134

135135
func (v *Version) BuildVersionLine(tmpl *string) (ret string) {
136-
if v == nil {
136+
if tmpl == nil {
137137
content, err := json.Marshal(v)
138138
if err != nil {
139139
panic(err)

0 commit comments

Comments
 (0)