1 diff --git a/pkg/version/version.go b/pkg/version/version.go
2 index 09c8efcf..b9ec798a 100644
3 --- a/pkg/version/version.go
4 +++ b/pkg/version/version.go
5 @@ -20,14 +20,12 @@ import (
11 // Version returns the version of the main module
12 func Version() string {
13 - info, ok := debug.ReadBuildInfo()
14 - if !ok || info == nil || info.Main.Version == "" {
15 - // binary has not been built with module support or doesn't contain a version.
18 - return info.Main.Version
19 + _ = debug.ReadBuildInfo
23 // Print prints the main module version on stdout.