Skip to content

Commit 1dabb1e

Browse files
committed
main: trim tags string to avoid trailing comma in version output
1 parent d7e9e61 commit 1dabb1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,5 @@ func formatBuiltWith() string {
180180
return " built with " + version
181181
}
182182

183-
return " built with " + version + " : " + strings.Replace(Tags, " ", ", ", -1)
183+
return " built with " + version + " : " + strings.Replace(strings.Trim(Tags, " "), " ", ", ", -1)
184184
}

0 commit comments

Comments
 (0)