Skip to content

Commit fc022ad

Browse files
author
Hantao (Will) Wang
committed
update gofmt to not search unnecessary places and report files changed
1 parent 49bb7be commit fc022ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-gofmt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ set -o errexit
1818
set -o nounset
1919
set -o pipefail
2020

21-
find . -name "*.go" | grep -v "\/vendor\/" | xargs gofmt -s -w
21+
find . -not -path "*/vendor/*" -not -path "./test/k8s-integration/src/*" -name "*.go" | xargs gofmt -s -w -l

0 commit comments

Comments
 (0)