summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@gitlab.com>2019-07-03 12:17:16 +0000
committerTomasz Maczukin <tomasz@gitlab.com>2019-07-03 12:17:16 +0000
commit459e419e313cbc6f7c5b5f0555d734ab68d7bc88 (patch)
tree8bca22fd3a28bcc9c81104c95310fb483d7feefa
parent219e37fd57167735dc33f6c859b8b7bb503b0e8a (diff)
parent9f8ce5c9175dbc30fe57f1767b2abe6ead7074d2 (diff)
downloadgitlab-ce-459e419e313cbc6f7c5b5f0555d734ab68d7bc88.tar.gz
Merge branch 'vzagorodny-fix-golint-commdand-in-go-guide' into 'master'
Fix golint command in Go guide doc to be recursive See merge request gitlab-org/gitlab-ce!30262
-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)