Skip to content

Commit

Permalink
fix version reporting with --version (#3846) (#3847)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Oct 8, 2024
1 parent 32d3fc5 commit c8cdb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit c8cdb77

Please sign in to comment.