(rootPath, excludeFiles = [])
| 31 | } |
| 32 | |
| 33 | async function gatherDeferredTextFiles(rootPath, excludeFiles = []) { |
| 34 | const files = await walkFiles(rootPath); |
| 35 | return files.filter( |
| 36 | (filePath) => !excludeFiles.includes(filePath) && isProbablyTextFile(filePath), |
| 37 | ); |
| 38 | } |
| 39 | |
| 40 | async function computeDeferredComponents(rootPath, excludeFiles = []) { |
| 41 | const files = await gatherDeferredTextFiles(rootPath, excludeFiles); |
no test coverage detected