From ce130a8bc5ade63bb7612fde26fd7591b03937d4 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Wed, 9 Oct 2024 10:54:11 +0200 Subject: [PATCH] Merge pull request #20909 from overleaf/msm-check-esm-test [scripts] lookup `test` dirs on `esm-check-migration.js` GitOrigin-RevId: 79a0961e3b018b440cdb15980a194b63b2211aec --- services/web/scripts/esm-check-migration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/scripts/esm-check-migration.js b/services/web/scripts/esm-check-migration.js index e765888f64..217afc5912 100644 --- a/services/web/scripts/esm-check-migration.js +++ b/services/web/scripts/esm-check-migration.js @@ -85,7 +85,7 @@ function collectJsFiles(dir, files = []) { const basename = path.basename(fullPath) // skipping directories from search - if (!['test', 'frontend', 'node_modules'].includes(basename)) { + if (!['frontend', 'node_modules'].includes(basename)) { collectJsFiles(fullPath, files) } } else if (