Skip to content

Commit

Permalink
fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanejohnson committed Jul 1, 2023
1 parent dc5aacf commit 551bda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var version = ""
func main() {
log := logpkg.New(os.Stdout, "", 0)
bi, ok := debug.ReadBuildInfo()
if ok {
if ok && version == "" {
version = bi.Main.Version
}
c := cli.NewCLI(os.Args[0], version)
Expand Down

0 comments on commit 551bda1

Please sign in to comment.