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