From 61bad1e07e479518950e748077f47bb321bff371 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 29 May 2019 01:38:13 +0300 Subject: [PATCH] Makefile: run `go vet` with `-mod=vendor` in order to disable downloading vendored deps --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9bb6cba40..d6a2d0614 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +31,8 @@ fmt: GO111MODULE=on gofmt -l -w -s ./app vet: - GO111MODULE=on go vet ./lib/... - GO111MODULE=on go vet ./app/... + GO111MODULE=on go vet -mod=vendor ./lib/... + GO111MODULE=on go vet -mod=vendor ./app/... lint: install-golint golint lib/...