(dir)
| 72 | /* ------------------------------------------------------------------ walk it */ |
| 73 | |
| 74 | function* files(dir) { |
| 75 | for (const name of readdirSync(dir)) { |
| 76 | const path = join(dir, name); |
| 77 | if (statSync(path).isDirectory()) yield* files(path); |
| 78 | else yield path; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | const all = [...files(DIST)]; |
| 83 |
no test coverage detected