mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-31 05:15:32 +00:00
chore: generate
This commit is contained in:
parent
aa9956d46d
commit
34b1045a01
2 changed files with 3 additions and 9 deletions
|
|
@ -513,9 +513,7 @@ export function Prompt(props: PromptProps) {
|
|||
value,
|
||||
renderer,
|
||||
cwd:
|
||||
(project.instance.path().worktree === "/"
|
||||
? undefined
|
||||
: project.instance.path().worktree) ||
|
||||
(project.instance.path().worktree === "/" ? undefined : project.instance.path().worktree) ||
|
||||
project.instance.directory() ||
|
||||
process.cwd(),
|
||||
})
|
||||
|
|
|
|||
|
|
@ -969,9 +969,7 @@ export function Session() {
|
|||
value: transcript,
|
||||
renderer,
|
||||
cwd:
|
||||
(project.instance.path().worktree === "/"
|
||||
? undefined
|
||||
: project.instance.path().worktree) ||
|
||||
(project.instance.path().worktree === "/" ? undefined : project.instance.path().worktree) ||
|
||||
project.instance.directory() ||
|
||||
process.cwd(),
|
||||
})
|
||||
|
|
@ -987,9 +985,7 @@ export function Session() {
|
|||
value: transcript,
|
||||
renderer,
|
||||
cwd:
|
||||
(project.instance.path().worktree === "/"
|
||||
? undefined
|
||||
: project.instance.path().worktree) ||
|
||||
(project.instance.path().worktree === "/" ? undefined : project.instance.path().worktree) ||
|
||||
project.instance.directory() ||
|
||||
process.cwd(),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue