fix(travis): execute 'go vet' instead of 'go tool vet'

This commit is contained in:
umarcor 2019-03-18 17:22:28 +01:00
parent ba1052d4cb
commit ce89e15071

View file

@ -18,5 +18,5 @@ script:
- PATH=$PATH:$PWD/bin go test -v ./... - PATH=$PATH:$PWD/bin go test -v ./...
- go build - go build
- if [ -z $NOVET ]; then - if [ -z $NOVET ]; then
diff -u <(echo -n) <(go tool vet . 2>&1 | grep -vE 'ExampleCommand|bash_completions.*Fprint'); diff -u <(echo -n) <(go vet . 2>&1 | grep -vE 'ExampleCommand|bash_completions.*Fprint');
fi fi