mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-10 07:11:25 +03:00
use provided workingg dir
This commit is contained in:
committed by
Kujtim Hoxha
Unverified
parent
94aeb7b7fe
commit
f12386e558
@@ -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