From fc022add77bdbbec5e344c4b68dc9c4e61dec45a Mon Sep 17 00:00:00 2001 From: "Hantao (Will) Wang" Date: Fri, 28 Jun 2019 15:42:54 -0700 Subject: [PATCH] update gofmt to not search unnecessary places and report files changed --- hack/update-gofmt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-gofmt.sh b/hack/update-gofmt.sh index 5a4ccfa4c..fadfebf95 100755 --- a/hack/update-gofmt.sh +++ b/hack/update-gofmt.sh @@ -18,4 +18,4 @@ set -o errexit set -o nounset set -o pipefail -find . -name "*.go" | grep -v "\/vendor\/" | xargs gofmt -s -w +find . -not -path "*/vendor/*" -not -path "./test/k8s-integration/src/*" -name "*.go" | xargs gofmt -s -w -l