mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 22:07:27 -08:00
go list -m honnef.co/go/tools
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
ea55bd61d0
commit
cc1b953394
|
@ -111,6 +111,7 @@ common-staticcheck: $(STATICCHECK)
|
||||||
ifdef STATICCHECK
|
ifdef STATICCHECK
|
||||||
GO111MODULE=off $(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" $(pkgs)
|
GO111MODULE=off $(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" $(pkgs)
|
||||||
else
|
else
|
||||||
|
GO111MODULE=$(GO111MODULE) $(GO) list -m honnef.co/go/tools
|
||||||
GO111MODULE=$(GO111MODULE) $(GO) run $(GOOPTS) honnef.co/go/tools/cmd/staticcheck -ignore "$(STATICCHECK_IGNORE)" -checks "SA*" $(pkgs)
|
GO111MODULE=$(GO111MODULE) $(GO) run $(GOOPTS) honnef.co/go/tools/cmd/staticcheck -ignore "$(STATICCHECK_IGNORE)" -checks "SA*" $(pkgs)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue