diff --git a/hack/gosec.sh b/hack/gosec.sh index 93ea9fa27..191dbe3bb 100755 --- a/hack/gosec.sh +++ b/hack/gosec.sh @@ -6,4 +6,4 @@ if [ $? -ne 0 ]; then go get -u github.com/securego/gosec/v2/cmd/gosec fi -time gosec -conf gosec.conf.json ./... +time GO111MODULE=off gosec -conf gosec.conf.json ./...