summaryrefslogtreecommitdiff
path: root/scripts/travis/codegen_verification.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis/codegen_verification.sh')
-rwxr-xr-xscripts/travis/codegen_verification.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/travis/codegen_verification.sh b/scripts/travis/codegen_verification.sh
index 395c85e90..ae5887366 100755
--- a/scripts/travis/codegen_verification.sh
+++ b/scripts/travis/codegen_verification.sh
@@ -50,6 +50,8 @@ function runGoLint() {
echo >&2 "golint must be clean. Please run the following to list issues(${warningCount}):"
echo >&2 " make lint"
+ # run the linter again to output the actual issues
+ "$GOPATH"/bin/golint $(go list ./... | grep -v /vendor/ | grep -v /test/e2e-go/) >&2
return 1
}