Skip to content

Commit

Permalink
Fix path to gosec scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed May 6, 2020
1 parent 7d3ee7c commit c7135eb
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 @@ -15,5 +15,5 @@ test-release:
goreleaser release --snapshot --skip-publish --skip-sign --rm-dist

scan:
if [ ! -f "$$GOPATH/bin/gosec1" ]; then echo "Error: gosec is not installed\n\nYou can install gosec with 'go get github.com/securego/gosec/cmd/gosec'\n" && exit 1; fi
if [ ! -f "$$GOPATH/bin/gosec" ]; then echo "Error: gosec is not installed\n\nYou can install gosec with 'go get github.com/securego/gosec/cmd/gosec'\n" && exit 1; fi
$$GOPATH/bin/gosec -quiet ./pkg/...

0 comments on commit c7135eb

Please sign in to comment.