File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -341,10 +341,10 @@ mockgen: #HELP Generate mocks
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.
343343 @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/...
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 go generate ./pkg/...
348348
349349# SECTION Verification
350350
You can’t perform that action at this time.
0 commit comments