From cb16046672a9982578547f8858f28a73c45e6bde Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" <4903+rboyer@users.noreply.github.com> Date: Thu, 11 May 2023 10:36:41 -0500 Subject: [PATCH] proto: clear out old ratelimit.tmp files before making new ones (#17292) --- build-support/scripts/protobuf.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-support/scripts/protobuf.sh b/build-support/scripts/protobuf.sh index 0fe2bbecb..420d66d6a 100755 --- a/build-support/scripts/protobuf.sh +++ b/build-support/scripts/protobuf.sh @@ -45,6 +45,9 @@ function main { esac done + # clear old ratelimit.tmp files + find . -name .ratelimit.tmp -delete + local mods=$(find . -name 'buf.gen.yaml' -exec dirname {} \; | sort) for mod in $mods do