From ce184408df4592d23594b4fd239b72c04dd58234 Mon Sep 17 00:00:00 2001 From: Luke Powlett Date: Sun, 22 Dec 2019 13:10:26 +0000 Subject: [PATCH] Fixed makefile gosec info bug --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e34dab8..33a4baa 100644 --- a/Makefile +++ b/Makefile @@ -402,7 +402,8 @@ lint: $(addsuffix /$(wildcard *.go), $(GO_PKG_DIRS)) golint -set_exit_status $(sort $(dir $(wildcard $(addsuffix /*/*.go, $(GO_PKG_DIRS))))) .PHONY: gosec -gosec: $(info $(SPACER)$(shell printf "Running gosec test"$(END))) +gosec: + $(info $(SPACER)$(shell printf "Running gosec test"$(END))) @gosec -fmt=json -out=gosec_results.json cmd/... internal/... 2> /dev/null ;\ cat "gosec_results.json" ;\ cat gosec_results.json | grep HIGH | grep severity > /dev/null ;\