go list -m honnef.co/go/tools

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2018-10-25 17:10:39 +02:00
parent ea55bd61d0
commit cc1b953394
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ common-staticcheck: $(STATICCHECK)
ifdef STATICCHECK
GO111MODULE=off $(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" $(pkgs)
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)
endif