use provided workingg dir
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue