mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
fix bug of hack/update-gofmt.sh
This commit is contained in:
parent
ed2bdd53dc
commit
84a0478d1b
@ -43,5 +43,4 @@ find_files() {
|
|||||||
\) -name '*.go'
|
\) -name '*.go'
|
||||||
}
|
}
|
||||||
|
|
||||||
GOFMT="gofmt -s -w"
|
find_files | xargs gofmt -s -w
|
||||||
find_files | xargs "${GOFMT}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user