(pathToWalk)
| 32 | const __dirname = path.dirname(fileURLToPath(import.meta.url)) |
| 33 | |
| 34 | const walkFiles = (pathToWalk) => { |
| 35 | return walk(path.posix.join(__dirname, '..', pathToWalk), { |
| 36 | includeBasePath: true, |
| 37 | directories: false, |
| 38 | }) |
| 39 | .filter((file) => file.endsWith('.md') && !file.endsWith('README.md')) |
| 40 | .filter((file) => !file.includes('/early-access/')) // ignore EA for now |
| 41 | } |
| 42 | |
| 43 | const allFiles = walkFiles('content').concat(walkFiles('data')) |
| 44 |
no outgoing calls
no test coverage detected