Fix go.mod to give priority to go mod tidy (#16685)

There is a race between go mod tidy and go mod vendor
due to https://github.com/golang/go/issues/37376.

However, if we give priority to go mod vendor, then
gopls complains of inconsistent vendoring. We make go mod tidy happy
as it's a more commonly used command than go mod vendor,
and is a common problem faced by other devs too
Этот коммит содержится в:
Agniva De Sarker
2021-01-13 19:14:52 +05:30
коммит произвёл GitHub
родитель 110ac3b1ec
Коммит 346c8b01b2
2 изменённых файлов: 4 добавлений и 4 удалений

2
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