build: force gomodules when executing linter
This commit is contained in:
1 file changed
+1
-1
@@ -177,7 +177,7 @@ fmt:
|
|||||||
lint: $(LINT_BIN)
|
lint: $(LINT_BIN)
|
||||||
@$(call print, "Linting source.")
|
@$(call print, "Linting source.")
|
||||||
GO111MODULE=off $(LINT_BIN) --install 1> /dev/null
|
GO111MODULE=off $(LINT_BIN) --install 1> /dev/null
|
||||||
test -z "$$($(LINT))"
|
GO111MODULE=on test -z "$$($(LINT))"
|
||||||
|
|
||||||
list:
|
list:
|
||||||
@$(call print, "Listing commands.")
|
@$(call print, "Listing commands.")
|
||||||
|
|||||||
Reference in new issue
Block a user