(dir: string)
| 401 | ]; |
| 402 | |
| 403 | function looksLikeProjectRoot(dir: string): boolean { |
| 404 | return WORKSPACE_ROOT_MANIFESTS.some((m) => fs.existsSync(path.join(dir, m))); |
| 405 | } |
| 406 | |
| 407 | function escapeRegExp(s: string): string { |
| 408 | return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); |
no test coverage detected