*: run "gofmt -s" on genproto complete

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
Gyuho Lee
2020-05-09 23:14:32 -07:00
parent b95f135e10
commit d93c36bbb9
2 changed files with 4 additions and 1 deletions

View File

@ -84,6 +84,7 @@ for dir in ${DIRS}; do
# shellcheck disable=SC1117
sed -i.bak -E "s/go.etcd.io\/etcd\//go.etcd.io\/etcd\/v3\//" ./*.pb.go
rm -f ./*.bak
gofmt -s -w ./*.pb.go
goimports -w ./*.pb.go
popd
done