File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -340,11 +340,7 @@ mockgen: #HELP Generate mocks
340340 # Consider using counterfeiter:generate directives to speed things up.
341341 # See https://github.com/maxbrunsfeld/counterfeiter#step-2b---add-counterfeitergenerate-directives for more information.
342342 # Set the "COUNTERFEITER_NO_GENERATE_WARNING" environment variable to suppress this message.
343- @set -e; \
344- overlay_file=$$(mktemp "$(CURDIR ) /hack/overlays/goimports_overlay.XXXXXX.json" ) ; \
345- trap ' rm -f "$$overlay_file"' EXIT; \
346- printf ' {\n "Replace": {\n "%s/vendor/golang.org/x/tools/imports/vendorlesspath.go": "%s/hack/overlays/goimports_vendorlesspath.go"\n }\n}\n' " $( CURDIR) " " $( CURDIR) " > " $$ overlay_file" ; \
347- GO111MODULE=on GOWORK=off COUNTERFEITER_NO_GENERATE_WARNING=1 GOFLAGS=" $$ GOFLAGS -overlay=$$ overlay_file" go generate ./pkg/...
343+ GO111MODULE=on GOWORK=off COUNTERFEITER_NO_GENERATE_WARNING=1 go generate ./pkg/...
348344
349345# SECTION Verification
350346
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments