fixed bug after changing version var name

This commit is contained in:
Mat Ryer 2021-02-14 13:11:59 +00:00
parent fe0d4f3360
commit 6e4f50de4b

View File

@ -47,7 +47,7 @@ func main() {
flags.args = flag.Args()
if *printVersion {
fmt.Printf("moq version %s\n", version)
fmt.Printf("moq version %s\n", Version)
os.Exit(0)
}