Skip to content

Commit d658393

Browse files
committed
fix: use working directory as project root when not in a git repo (closes anomalyco#28605)
1 parent 88ad6d5 commit d658393

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/opencode/src/project/project.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ export const layer: Layer.Layer<
203203
if (!dotgit) {
204204
return {
205205
id: ProjectID.global,
206-
worktree: "/",
207-
sandbox: "/",
206+
worktree: directory,
207+
sandbox: directory,
208208
vcs: fakeVcs,
209209
}
210210
}

0 commit comments

Comments
 (0)