fix bug of hack/update-gofmt.sh

k3s-v1.15.3
SataQiu 2019-04-13 03:29:51 +08:00
parent ed2bdd53dc
commit 84a0478d1b
1 changed files with 1 additions and 2 deletions

View File

@ -43,5 +43,4 @@ find_files() {
\) -name '*.go' \) -name '*.go'
} }
GOFMT="gofmt -s -w" find_files | xargs gofmt -s -w
find_files | xargs "${GOFMT}"