proto: clear out old ratelimit.tmp files before making new ones (#17292)

This commit is contained in:
R.B. Boyer 2023-05-11 10:36:41 -05:00 committed by GitHub
parent 281e1696ca
commit cb16046672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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