fix: print version with newline (#70)

This commit is contained in:
Robert Kaussow 2024-05-04 15:50:28 +02:00 committed by GitHub
parent fc2102453c
commit 8ad911886e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ func New(opt Options) *Plugin {
cli.VersionPrinter = func(c *cli.Context) {
version := fmt.Sprintf("%s version=%s %s\n", c.App.Name, c.App.Version, opt.VersionMetadata)
fmt.Print(strings.TrimSpace(version))
fmt.Println(strings.TrimSpace(version))
}
plugin := &Plugin{