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

Change 'go vet' to 'go tool vet' #1019

Merged
merged 1 commit into from
Apr 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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