(root: string, reach: string)
| 729 | const projectRoots = new Set<string>(['']); |
| 730 | const localRoots = new Map<string, string>(); |
| 731 | const addLocal = (root: string, reach: string): void => { |
| 732 | const prior = localRoots.get(root); |
| 733 | // Two claims on one root: the wider reach wins. |
| 734 | if (prior === undefined || isWithin(prior, reach)) localRoots.set(root, reach); |
| 735 | }; |
| 736 | for (const dir of packageDirs) { |
| 737 | let top = dir; |
| 738 | while (top && packageDirs.has(parentDir(top))) top = parentDir(top); |
no test coverage detected