mirror of https://github.com/k3s-io/k3s
fix bug of hack/update-gofmt.sh
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