build: force gomodules when executing linter

This commit is contained in:
Olaoluwa Osuntokun
2018-11-29 21:35:46 -08:00
parent ac04306dcf
commit 1483af79da

View File

@@ -177,7 +177,7 @@ fmt:
lint: $(LINT_BIN)
@$(call print, "Linting source.")
GO111MODULE=off $(LINT_BIN) --install 1> /dev/null
test -z "$$($(LINT))"
GO111MODULE=on test -z "$$($(LINT))"
list:
@$(call print, "Listing commands.")