fix version reporting with --version (#3846) (#3847)

This commit is contained in:
Alessandro Ros 2024-10-08 09:41:38 +02:00 committed by GitHub
parent 32d3fc55cc
commit c8cdb77fe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ func New(args []string) (*Core, bool) {
parser.FatalIfErrorf(err)
if cli.Version {
fmt.Println(version)
fmt.Println(string(version))
os.Exit(0)
}