Unverified Commit 63f5db60 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #68330 from tianshapjq/ignore-git-dir-when-gofmt

ignore .git dirs when executing gofmt
parents a3e30269 1de325fe
...@@ -31,6 +31,7 @@ find_files() { ...@@ -31,6 +31,7 @@ find_files() {
find . -not \( \ find . -not \( \
\( \ \( \
-wholename './output' \ -wholename './output' \
-o -wholename './.git' \
-o -wholename './_output' \ -o -wholename './_output' \
-o -wholename './_gopath' \ -o -wholename './_gopath' \
-o -wholename './release' \ -o -wholename './release' \
......
...@@ -36,6 +36,7 @@ find_files() { ...@@ -36,6 +36,7 @@ find_files() {
find . -not \( \ find . -not \( \
\( \ \( \
-wholename './output' \ -wholename './output' \
-o -wholename './.git' \
-o -wholename './_output' \ -o -wholename './_output' \
-o -wholename './_gopath' \ -o -wholename './_gopath' \
-o -wholename './release' \ -o -wholename './release' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment