build: force gomodules when executing linter
This commit is contained in:
parent
ac04306dcf
commit
1483af79da
2
Makefile
2
Makefile
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user