Skip to content

Commit

Permalink
Fixed linting module import issues
Browse files Browse the repository at this point in the history
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
  • Loading branch information
sgnn7 committed Aug 23, 2018
1 parent d2959e6 commit 8f35cfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/check_style
Expand Up @@ -49,7 +49,9 @@ style_errs=$(docker run \
--rm \
secretless-dev \
bash -ec "
go get -u golang.org/x/lint/golint
# https://github.com/golang/lint/issues/397
go get golang.org/x/lint@v0.0.0-20180702182130-06c8688daad
go get golang.org/x/lint/golint
golint ${PROJECT_ROOT}cmd/...
golint ${PROJECT_ROOT}internal/...
golint ${PROJECT_ROOT}pkg/...
Expand Down

0 comments on commit 8f35cfa

Please sign in to comment.