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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue