mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-29 06:06:03 +00:00
fix bug of hack/update-gofmt.sh
This commit is contained in:
@@ -43,5 +43,4 @@ find_files() {
|
|||||||
\) -name '*.go'
|
\) -name '*.go'
|
||||||
}
|
}
|
||||||
|
|
||||||
GOFMT="gofmt -s -w"
|
find_files | xargs gofmt -s -w
|
||||||
find_files | xargs "${GOFMT}"
|
|
||||||
|
Reference in New Issue
Block a user