Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
change 'go vet' to 'go tool vet' (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
SataQiu authored and andresmgot committed Apr 8, 2019
1 parent f6cca9b commit 57ab07a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/validate-vet
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ unset IFS

failed=0
for f in "${files[@]}"; do
# we use "git show" here to validate that what's committed passes go vet
if ! go vet "$f"; then
# we use "git show" here to validate that what's committed passes go tool vet
if ! go tool vet "$f"; then
failed=1
fi
done
Expand Down

0 comments on commit 57ab07a

Please sign in to comment.