mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 17:54:23 +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 {
|
if shellInstance == nil || !shellInstance.isAlive {
|
||||||
shellInstance = newPersistentShell(shellInstance.cwd)
|
shellInstance = newPersistentShell(workingDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
return shellInstance
|
return shellInstance
|
||||||
|
|||||||
Reference in New Issue
Block a user