diff --git a/hack/validate-vet.sh b/hack/validate-vet.sh index 577c5802..a661c15f 100755 --- a/hack/validate-vet.sh +++ b/hack/validate-vet.sh @@ -1,6 +1,6 @@ #!/bin/bash -errors=$(go vet -tags="${BUILDTAGS}" $(go list -e ./...)) +errors=$(go vet -tags="${BUILDTAGS}" ./...) if [ -z "$errors" ]; then echo 'Congratulations! All Go source files have been vetted.'