Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(cli): use requested path for index, not stale workspace.json rootPath

3 months ago

bb91bbf
Authored
asta-nguyen8/8/2026, 6:50:38 AM
openez index <path> read workspace.json from the target directory
and used its rootPath field. If the directory was copied or moved,
workspace.json contains the old absolute path — indexing the wrong
location instead of the path the user explicitly requested.

Fix: pass resolvedPath (from the CLI argument) to indexWorkspace
instead of workspace.rootPath.

Typecheck 8/8, tests 144 pass.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

Parent3fea86e

1 file changed
  • apps/cli/src/cli.ts+1−1