build: print message when there are no lint issues

This commit is contained in:
Felix Lange 2019-11-15 14:47:44 +01:00
parent 7fb4cede88
commit 66248ff3ef

View file

@ -349,6 +349,7 @@ func doLint(cmdline []string) {
linter := downloadLinter(*cachedir)
lflags := []string{"run", "--config", ".golangci.yml"}
build.MustRunCommand(linter, append(lflags, packages...)...)
fmt.Println("You have achieved perfection.")
}
// downloadLinter downloads and unpacks golangci-lint.