mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
fix(travis): execute 'go vet' instead of 'go tool vet'
This commit is contained in:
parent
ba1052d4cb
commit
ce89e15071
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@ script:
|
|||
- PATH=$PATH:$PWD/bin go test -v ./...
|
||||
- go build
|
||||
- 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
|
||||
|
|
Loading…
Add table
Reference in a new issue