From f1e7261afb9f3eb1bc68bdd2d0a9ef50849ffef3 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Wed, 14 Sep 2022 16:23:45 +0100 Subject: [PATCH] Prevent regressing the en stubs. --- bin/update-translations.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/update-translations.sh b/bin/update-translations.sh index 567448745..e36df723a 100755 --- a/bin/update-translations.sh +++ b/bin/update-translations.sh @@ -38,6 +38,8 @@ npm run i18n:compile npm run i18n:typeshed-to-crowdin npm run i18n:crowdin-to-typeshed ) - ./bin/update-pyright.sh -./bin/update-typeshed.sh \ No newline at end of file +./bin/update-typeshed.sh +# We sometimes have newer English stubs than translations and don't want to +# regress them as part of a translations update. +git checkout -- src/micropython/main/typeshed.en.json \ No newline at end of file