From 789257f7679be237c9c45ff54c76782e743dc779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 5 Apr 2023 20:24:53 +0200 Subject: [PATCH] Simplify the package list of (go vet) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That extra process is an extra 0.5s on macOS at least. Signed-off-by: Miloslav Trmač --- hack/validate-vet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'