From db877dca36ab400b9bff57224b3985d678e05be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Tue, 5 Nov 2019 15:02:38 +0100 Subject: [PATCH] Don't unnecessarily filter out vendor from (go list ./...) output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (go list) removes the vendor subdirectory automatically since Go 1.9. Signed-off-by: Miloslav Trmač --- hack/make/validate-vet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make/validate-vet b/hack/make/validate-vet index f3c30fb1..05c01230 100755 --- a/hack/make/validate-vet +++ b/hack/make/validate-vet @@ -1,6 +1,6 @@ #!/bin/bash -errors=$(go vet $mod_vendor $(go list $mod_vendor -e ./... | grep -v "$SKOPEO_PKG"/vendor)) +errors=$(go vet $mod_vendor $(go list $mod_vendor -e ./...)) if [ -z "$errors" ]; then echo 'Congratulations! All Go source files have been vetted.'