Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 19, 2020
1 parent 26408cc commit dd55cc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var (
version = "dev"
commit = "none"
date = "unknown"
builtBy = "unknown"
)

func run() error {
Expand Down Expand Up @@ -42,7 +41,8 @@ func run() error {
}

if showVersion {
println(version)
fmt.Printf("%s %s %s\n", version, commit, date)
os.Exit(0)
}

version := flag.Arg(0)
Expand Down

0 comments on commit dd55cc8

Please sign in to comment.