Merge pull request #68330 from tianshapjq/ignore-git-dir-when-gofmt
ignore .git dirs when executing gofmt
This commit is contained in:
@@ -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() {
|
|||||||
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' \
|
||||||
|
Reference in New Issue
Block a user