Ver Fonte

Merge pull request #34774 from overleaf/mj-fix-cleanup-locales

[web] Ignore cache files in cleanupUnusedLocales

GitOrigin-RevId: 72ad8fb265a6fe905671dd379b3ca29468c9f759
Mathias Jakobsen há 1 mês atrás
pai
commit
b570078223

+ 2 - 0
services/web/scripts/translations/cleanupUnusedLocales.js

@@ -42,6 +42,8 @@ async function main() {
       -not -path '*/node_modules/*' \
       -not -path '*/scripts/*' \
       -not -path '*/tests/*' \
+      -not -path './.cache/*' \
+      -not -path './.yarn/.cache/*' \
       -exec cat {} +
     `,
     {