From a3c1a742a03717cd3129dbea60dffe4eba25075d Mon Sep 17 00:00:00 2001 From: Onkar Hanumante Date: Fri, 28 Jul 2023 16:17:59 +0530 Subject: [PATCH] invoke `go vet` command correctly (#2984) Co-authored-by: @onkarvhanumante --- validate.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/validate.sh b/validate.sh index becd42ceb50..d263df0ab51 100755 --- a/validate.sh +++ b/validate.sh @@ -35,7 +35,6 @@ if [ "$RACE" -ne "0" ]; then fi if $VET; then - COMMAND="go vet" - echo "Running: $COMMAND" - `$COMMAND` + echo "Running go vet check" + go vet -composites=false ./... fi