mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
use provided workingg dir
This commit is contained in:
parent
94aeb7b7fe
commit
f12386e558
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ func GetPersistentShell(workingDir string) *PersistentShell {
|
|||
})
|
||||
|
||||
if shellInstance == nil || !shellInstance.isAlive {
|
||||
shellInstance = newPersistentShell(shellInstance.cwd)
|
||||
shellInstance = newPersistentShell(workingDir)
|
||||
}
|
||||
|
||||
return shellInstance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue