From a1170be979cb75da11e84f45f67d3f5468d97669 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 22 Oct 2017 14:37:44 +0200 Subject: [PATCH] test.bash: use "go vet" instead of "go tool vet" "go vet" automatically skips the vendor directory. "go tool vet" does not, and it will complain about a lot of things in there. --- test.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.bash b/test.bash index 32f77dc..e2f54e8 100755 --- a/test.bash +++ b/test.bash @@ -31,9 +31,9 @@ if [[ $OSTYPE == linux* ]] ; then fi if go tool | grep vet > /dev/null ; then - go tool vet -all -shadow . + go vet -all -shadow ./... else - echo "'go tool vet' not available - skipping" + echo "'go vet' not available - skipping" fi # We don't want all the subprocesses holding the lock file open