Closed AndreyChernykh closed 2 years ago
Latest commit: 6351be78577582d4d2b417b55db3ec1b13373187
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Purpose 🚀
The script did have a race condition because
removeTranslationFiles
andgenerateTranslationFiles
were called at the same time without waiting for one another. So, some files were removed immediately after they were created. This lead to an error, such as:ModuleNotFoundError: Module not found: Error: Can't resolve '../locales-js/zh'
References 🔗
https://aclgrc.atlassian.net/browse/UXD-1874