Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaumoron committed May 30, 2024
1 parent 966c81c commit ba66def
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/go/last.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ func main() {

cmdArgs := os.Args[1:]
if versionMessage != "" && len(cmdArgs) > 0 && cmdArgs[0] == versionCmd {
fmt.Println(versionMessage)
fmt.Print(versionMessage)
return
}

runGo(conf.rootPath, cmdArgs, stdoutSetter)
Expand Down

0 comments on commit ba66def

Please sign in to comment.