use provided workingg dir

pull/557/head
Fuad 2025-04-27 06:46:22 +03:00 committed by Kujtim Hoxha
parent 94aeb7b7fe
commit f12386e558
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func GetPersistentShell(workingDir string) *PersistentShell {
})
if shellInstance == nil || !shellInstance.isAlive {
shellInstance = newPersistentShell(shellInstance.cwd)
shellInstance = newPersistentShell(workingDir)
}
return shellInstance