Skip to content

Commit

Permalink
deprecate gosec in makefile (goharbor#19828)
Browse files Browse the repository at this point in the history
remove the unused the part from makefile

Signed-off-by: wang yan <wangyan@vmware.com>
Signed-off-by: Altynbaev Dinislam <altynbayevdr@sberautotech.ru>
  • Loading branch information
wy65701436 authored and Altynbaev Dinislam committed Jan 29, 2024
1 parent 10b0131 commit 2d15010
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 2d15010

Please # to comment.