build: make linter emit output (#28704)

This commit is contained in:
Martin HS
2023-12-19 08:55:04 +01:00
committed by GitHub
parent cd58897f18
commit 952b343cb3
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ func doLint(cmdline []string) {
linter := downloadLinter(*cachedir)
lflags := []string{"run", "--config", ".golangci.yml"}
build.MustRunCommand(linter, append(lflags, packages...)...)
build.MustRunCommandWithOutput(linter, append(lflags, packages...)...)
fmt.Println("You have achieved perfection.")
}