Ignore test settings file

GitOrigin-RevId: 5f9e901f4358bb631299ec165b72305ea814e343
This commit is contained in:
Andrew Rumble 2024-10-09 11:29:15 +01:00 committed by Copybot
parent 4a32f49b3d
commit e05c181af4

View file

@ -157,7 +157,7 @@ function printDirectoriesReport(allFilesAndImports) {
// collect js files from the selected paths
const selectedFiles = Array.from(
findJSAndImports(paths.map(dir => path.resolve(dir))).keys()
)
).filter(file => !file.endsWith('settings.test.js'))
const nonMigratedFiles = selectedFiles.filter(file => !file.endsWith('.mjs'))
const migratedFileCount = selectedFiles.filter(file =>
file.endsWith('.mjs')