From 84a0478d1b6b5a3776597a56d569d097538faf9f Mon Sep 17 00:00:00 2001 From: SataQiu Date: Sat, 13 Apr 2019 03:29:51 +0800 Subject: [PATCH] fix bug of hack/update-gofmt.sh --- hack/update-gofmt.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/update-gofmt.sh b/hack/update-gofmt.sh index 9a9aab7bf4..1758662d51 100755 --- a/hack/update-gofmt.sh +++ b/hack/update-gofmt.sh @@ -43,5 +43,4 @@ find_files() { \) -name '*.go' } -GOFMT="gofmt -s -w" -find_files | xargs "${GOFMT}" +find_files | xargs gofmt -s -w