Skip to content

Commit

Permalink
deprecate gosec in makefile
Browse files Browse the repository at this point in the history
remove the unused the part from makefile

Signed-off-by: wang yan <[email protected]>
  • Loading branch information
wy65701436 authored and YangJiao0817 committed Jan 12, 2024
1 parent 80930da commit 570f753
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -452,16 +452,6 @@ package_offline: update_prepare_version compile build
@rm -rf $(HARBORPKG)
@echo "Done."

gosec:
#go get github.com/securego/gosec/cmd/gosec
#go get github.com/dghubble/sling
@echo "run secure go scan ..."
@if [ "$(GOSECRESULTS)" != "" ] ; then \
$(GOPATH)/bin/gosec -fmt=json -out=$(GOSECRESULTS) -quiet ./... | true ; \
else \
$(GOPATH)/bin/gosec -fmt=json -out=harbor_gas_output.json -quiet ./... | true ; \
fi

go_check: gen_apis mocks_check misspell commentfmt lint

commentfmt:
Expand Down

0 comments on commit 570f753

Please sign in to comment.