From 5955d0e68ae7a9e95f6a585ce35e58e20a033da2 Mon Sep 17 00:00:00 2001 From: Volodymyr Manilo Date: Sat, 9 Nov 2024 22:20:49 +0100 Subject: [PATCH] fix gosec with goflags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 05094385..4b9b8c58 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ lint-fix: .PHONY: sec sec: @echo "==> Checking source code against security issues..." - docker run -t --rm -v $(PWD):/app -w /app securego/gosec:$(GOSEC_VERSION) gosec /app/$(PKG_NAME)/... + docker run -t --rm -v $(PWD):/app -w /app securego/gosec:$(GOSEC_VERSION) GOFLAGS=-buildvcs=false gosec /app/$(PKG_NAME)/... .PHONY: docs docs: