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
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

@ -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.")