Skip to content

Commit

Permalink
fix gosec with goflags
Browse files Browse the repository at this point in the history
  • Loading branch information
vmanilo committed Nov 9, 2024
1 parent 58ab8ca commit 5955d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5955d0e

Please sign in to comment.