Commit 516c41f
committed
claude: Fix create-project to not pass non-existent dir to initialization
The create-project command was passing the to-be-created project directory
to initializeProjectContextAndEngines(), which then tried to stat the
directory in projectContext(). This failed because the directory doesn't
exist yet - it's about to be created by the command.
Solution:
- Call initializeProjectContextAndEngines() without arguments
- This uses current working directory instead of the new project directory
- Engines are registered without needing the non-existent project context
The initialization only needs to register engines, not load project config
from the new directory (which doesn't exist yet and wouldn't have config
anyway).
Fixes test: smoke/project/project-simple.test.ts1 parent 96a9897 commit 516c41f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments