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.
This commit is contained in:
parent
4954c87979
commit
a1170be979
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user