summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Zagorodny <vzagorodny@gitlab.com>2019-07-03 12:17:14 +0000
committerTomasz Maczukin <tomasz@gitlab.com>2019-07-03 12:17:14 +0000
commit9f8ce5c9175dbc30fe57f1767b2abe6ead7074d2 (patch)
tree8bca22fd3a28bcc9c81104c95310fb483d7feefa
parent219e37fd57167735dc33f6c859b8b7bb503b0e8a (diff)
downloadgitlab-ce-9f8ce5c9175dbc30fe57f1767b2abe6ead7074d2.tar.gz
Fix golint command in Go guide doc to be recursive
-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 4dad8815fcb..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)