mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #12594 from overleaf/jpa-fix-cleanup-unused
[web] scripts/translations: fix searching for unused translations GitOrigin-RevId: 2cfefc6ffde7aaab0ef2d00888059ddafda3bb1d
This commit is contained in:
parent
376d9c43a3
commit
08673c9c1c
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ async function main() {
|
|||
// - read all the source files
|
||||
`
|
||||
find . -type f \
|
||||
-not -path './cypress/results/*' \
|
||||
-not -path './data/*' \
|
||||
-not -path './frontend/extracted-translations.json' \
|
||||
-not -path './locales/*' \
|
||||
|
@ -38,7 +39,7 @@ async function main() {
|
|||
-not -path '*/node_modules/*' \
|
||||
-not -path '*/scripts/*' \
|
||||
-not -path '*/tests/*' \
|
||||
| xargs cat
|
||||
-exec cat {} +
|
||||
`,
|
||||
{
|
||||
// run from services/web directory
|
||||
|
|
Loading…
Reference in a new issue