One message line naming the indexed sub-projects, or '' when none known.
()
| 2340 | |
| 2341 | /** One message line naming the indexed sub-projects, or '' when none known. */ |
| 2342 | private formatKnownSubprojects(): string { |
| 2343 | if (this.knownSubprojects.length === 0) return ''; |
| 2344 | const base = this.knownSubprojectsBase; |
| 2345 | const rels = this.knownSubprojects.map((r) => (base ? relativePath(base, r) || '.' : r)); |
| 2346 | return ( |
| 2347 | `Indexed sub-projects were found below it: ${rels.join(', ')} — ` + |
| 2348 | 'pass one of them (absolute, or resolved against that directory) as projectPath.\n' |
| 2349 | ); |
| 2350 | } |
| 2351 | |
| 2352 | /** |
| 2353 | * Whether a default CodeGraph instance is available |
no test coverage detected