From cc1b953394db6b07920210e535fe8970325335fe Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 25 Oct 2018 17:10:39 +0200 Subject: [PATCH] go list -m honnef.co/go/tools Signed-off-by: Simon Pasquier --- Makefile.common | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.common b/Makefile.common index 71afd5a29..f09c2efe9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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