mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Ignore test settings file
GitOrigin-RevId: 5f9e901f4358bb631299ec165b72305ea814e343
This commit is contained in:
parent
4a32f49b3d
commit
e05c181af4
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ function printDirectoriesReport(allFilesAndImports) {
|
||||||
// collect js files from the selected paths
|
// collect js files from the selected paths
|
||||||
const selectedFiles = Array.from(
|
const selectedFiles = Array.from(
|
||||||
findJSAndImports(paths.map(dir => path.resolve(dir))).keys()
|
findJSAndImports(paths.map(dir => path.resolve(dir))).keys()
|
||||||
)
|
).filter(file => !file.endsWith('settings.test.js'))
|
||||||
const nonMigratedFiles = selectedFiles.filter(file => !file.endsWith('.mjs'))
|
const nonMigratedFiles = selectedFiles.filter(file => !file.endsWith('.mjs'))
|
||||||
const migratedFileCount = selectedFiles.filter(file =>
|
const migratedFileCount = selectedFiles.filter(file =>
|
||||||
file.endsWith('.mjs')
|
file.endsWith('.mjs')
|
||||||
|
|
Loading…
Reference in a new issue