Преглед на файлове

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

[web] Ignore cache files in cleanupUnusedLocales

GitOrigin-RevId: 72ad8fb265a6fe905671dd379b3ca29468c9f759
Mathias Jakobsen преди 1 месец
родител
ревизия
b570078223
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      services/web/scripts/translations/cleanupUnusedLocales.js

+ 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 {} +
     `,
     {