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

ignore .git dirs when executing gofmt
This commit is contained in:
k8s-ci-robot 2018-09-25 14:40:42 -07:00 committed by GitHub
commit 63f5db60e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ find_files() {
find . -not \( \
\( \
-wholename './output' \
-o -wholename './.git' \
-o -wholename './_output' \
-o -wholename './_gopath' \
-o -wholename './release' \

View File

@ -36,6 +36,7 @@ find_files() {
find . -not \( \
\( \
-wholename './output' \
-o -wholename './.git' \
-o -wholename './_output' \
-o -wholename './_gopath' \
-o -wholename './release' \