One stderr line when the default project came from the down-scan (#1606).
(searchFrom: string, root: string)
| 436 | |
| 437 | /** One stderr line when the default project came from the down-scan (#1606). */ |
| 438 | private logSubprojectAdoption(searchFrom: string, root: string): void { |
| 439 | const rel = path.relative(searchFrom, root) || root; |
| 440 | process.stderr.write( |
| 441 | `[CodeGraph MCP] No .codegraph/ at ${searchFrom}; adopted the single indexed sub-project ${rel} as the default project.\n` |
| 442 | ); |
| 443 | } |
| 444 | |
| 445 | /** |
| 446 | * Start file watching on the active CodeGraph instance. Idempotent — the |
no test coverage detected