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