summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Zagorodny <vzagorodny@gitlab.com>2019-07-02 18:29:58 +0300
committerVictor Zagorodny <vzagorodny@gitlab.com>2019-07-03 11:26:01 +0300
commit45cb6d219795272ce42b919c914c6b019728bede (patch)
treea4197b3de8f11c132fc33e29f69bd60023f5b446
parent532cbcb70f36ba0c3437e313efa873b787952e40 (diff)
downloadgitlab-ce-vzagorodny-fix-golint-commdand-in-go-guide.tar.gz
Exclude vendored dependencies from golintvzagorodny-fix-golint-commdand-in-go-guide
-rw-r--r--doc/development/go_guide/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/go_guide/index.md b/doc/development/go_guide/index.md
index 65586b28401..f961a2fc837 100644
--- a/doc/development/go_guide/index.md
+++ b/doc/development/go_guide/index.md
@@ -82,7 +82,7 @@ go lint:
image: golang:1.11
script:
- go get -u golang.org/x/lint/golint
- - golint -set_exit_status ./...
+ - golint -set_exit_status $(go list ./... | grep -v "vendor/")
```
Once [recursive includes](https://gitlab.com/gitlab-org/gitlab-ce/issues/56836)