diff --git a/Makefile b/Makefile index ab52d77321..a4d11a9b5b 100644 --- a/Makefile +++ b/Makefile @@ -542,12 +542,12 @@ update-dependencies: ## Uses go get -u to update all the dependencies while hold # Update all dependencies (does not update across major versions) $(GO) get -u ./... - # Tidy up - $(GO) mod tidy - # Copy everything to vendor directory $(GO) mod vendor + # Tidy up + $(GO) mod tidy + vet: ## Run mattermost go vet specific checks @if ! [ -x "$$(command -v $(GOBIN)/mattermost-govet)" ]; then \ echo "mattermost-govet is not installed. Please install it executing \"GO111MODULE=off GOBIN=$(PWD)/bin go get -u github.com/mattermost/mattermost-govet\""; \ diff --git a/go.mod b/go.mod index b06fbb55af..e993d925fc 100644 --- a/go.mod +++ b/go.mod @@ -87,7 +87,7 @@ require ( github.com/pierrec/lz4/v4 v4.1.2 // indirect github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.9.0 - github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/client_model v0.2.0 github.com/reflog/dateconstraints v0.2.1 github.com/rs/cors v1.7.0 github.com/rudderlabs/analytics-go v3.2.1+incompatible