Skip to content

Commit 279e1f5

Browse files
committed
fix(dep): Pin golang.org/x/tools dependency
Currently, golangci-lint is failed for all repos using vendoring. As suggested by @lukasmalkmus, pinning golang.org/x/tools to 9cf592e881e9 to fix the issue. Relates #1502 Signed-off-by: Tam Mach <[email protected]>
1 parent b3491fd commit 279e1f5

File tree

2 files changed

+5
-63
lines changed

2 files changed

+5
-63
lines changed

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@ require (
7777
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
7878
mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7
7979
)
80+
81+
// Pinned to below version as mentioned in https://github.com/golangci/golangci-lint/issues/1502
82+
replace golang.org/x/tools => golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9

go.sum

Lines changed: 2 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)