Enable color output in govulncheck (#34012)

Make `govulncheck` show color, which by default it doesn't for some
reason.
This commit is contained in:
silverwind authored and GitHub committed 2025-03-25 18:24:48 +00:00
1 parent 20c7392e99
commit 2089401653
1 file changed
+1 -1
+1 -1
View File
@@ -737,7 +737,7 @@ generate-go: $(TAGS_PREREQ)
.PHONY: security-check
security-check:
go run $(GOVULNCHECK_PACKAGE) ./...
go run $(GOVULNCHECK_PACKAGE) -show color ./...
$(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@