We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f4b299 + 7ee8923 commit 0c6f167Copy full SHA for 0c6f167
src/Console/MCPServerCommand.php
@@ -58,13 +58,9 @@ public function __invoke(
58
->determineRootPath($configPath)
59
->withEnvFile($envFileName);
60
61
- $this->logger->info(\sprintf('Using root path: %s', $dirs->rootPath));
+ $this->container->bindSingleton(Directories::class, $dirs);
62
63
- $this->container->bindSingleton(
64
- Directories::class,
65
- $dirs = $this->dirs
66
- ->withConfigPath($configPath),
67
- );
+ $this->logger->info(\sprintf('Using root path: %s', $dirs->rootPath));
68
69
// Create the document compiler
70
$compiler = $documentCompilerFactory->create(dirs: $dirs);
0 commit comments