From 28f50862cb2bc741ed7120c48133d54b764d24d6 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Tue, 26 Oct 2021 05:07:49 -0500 Subject: [PATCH] Goimport All Items in Proto Folder In Bash Script (#9815) * update goimports to format all, including gw.pb.go files * update hack Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> --- hack/update-go-pbs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/update-go-pbs.sh b/hack/update-go-pbs.sh index e79982650..0db684d0b 100755 --- a/hack/update-go-pbs.sh +++ b/hack/update-go-pbs.sh @@ -25,5 +25,5 @@ done # Run goimports on newly generated protos # formats imports properly. # https://github.com/gogo/protobuf/issues/554 -goimports -w proto/**/*.pb.go -gofmt -s -w proto/ +goimports -w proto +gofmt -s -w proto