Skip to content

Commit

Permalink
Fix gosec linting errors (Skip G306 and fix G307)
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Quon <[email protected]>
  • Loading branch information
cquon committed Mar 18, 2020
1 parent c8a9108 commit 0c4cd56
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 @@ -110,7 +110,7 @@ endif
# gosec - requires that the following be run first:
# go get -u github.com/securego/gosec/cmd/gosec/...
@rm -f gosec_output.csv
@gosec -fmt=csv -out=gosec_output.csv -exclude=G104,G304 ./... || (cat gosec_output.csv >&2; exit 1)
@gosec -fmt=csv -out=gosec_output.csv -exclude=G104,G304,G306 ./... || (cat gosec_output.csv >&2; exit 1)

build:
@echo "+ $@"
Expand Down

0 comments on commit 0c4cd56

Please sign in to comment.