proto: clear out old ratelimit.tmp files before making new ones

pull/17292/head
R.B. Boyer 2023-05-10 11:16:31 -05:00
parent e9986e3774
commit 868926374a
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