Skip to content

Commit

Permalink
Add hack dir to gosec exclude
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan West <jonwest@redhat.com>
  • Loading branch information
jgwest committed Jan 30, 2024
1 parent a5ca828 commit 93a6b4a
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 @@ -283,7 +283,7 @@ lint: golangci_lint

.PHONY: gosec
gosec: go_sec
$(GO_SEC) ./...
$(GO_SEC) -exclude-dir=hack ./...

# go-get-tool will 'go install' any package $2 and install it to $1.
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
Expand Down

0 comments on commit 93a6b4a

Please sign in to comment.