From 461444f0922518a6f4973f7d68a353ab13757fe1 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 8 Nov 2023 16:29:18 -0700 Subject: [PATCH] Remove buf mod update --- scripts/protocgen.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 828b9f00..f4ae1063 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -3,9 +3,7 @@ set -eox pipefail echo "Generating proto code" -cd proto -buf mod update -cd .. + proto_dirs=$(find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do