One message line naming the indexed sub-projects, or '' when none known.
()
| 2457 | |
| 2458 | /** One message line naming the indexed sub-projects, or '' when none known. */ |
| 2459 | private formatKnownSubprojects(): string { |
| 2460 | if (this.knownSubprojects.length === 0) return ''; |
| 2461 | const base = this.knownSubprojectsBase; |
| 2462 | const rels = this.knownSubprojects.map((r) => (base ? relativePath(base, r) || '.' : r)); |
| 2463 | return ( |
| 2464 | `Indexed sub-projects were found below it: ${rels.join(', ')} — ` + |
| 2465 | 'pass one of them (absolute, or resolved against that directory) as projectPath.\n' |
| 2466 | ); |
| 2467 | } |
| 2468 | |
| 2469 | /** |
| 2470 | * Whether a default CodeGraph instance is available |
no test coverage detected