mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
use provided workingg dir
This commit is contained in:
@@ -48,7 +48,7 @@ func GetPersistentShell(workingDir string) *PersistentShell {
|
||||
})
|
||||
|
||||
if shellInstance == nil || !shellInstance.isAlive {
|
||||
shellInstance = newPersistentShell(shellInstance.cwd)
|
||||
shellInstance = newPersistentShell(workingDir)
|
||||
}
|
||||
|
||||
return shellInstance
|
||||
|
||||
Reference in New Issue
Block a user