mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
17d3edcd57
commit
2971d44c99
@ -30,7 +30,7 @@ export class NodeShellSession extends ShellSession {
|
||||
}
|
||||
args = ["exec", "-i", "-t", "-n", "kube-system", this.podId, "--", "sh", "-c", "((clear && bash) || (clear && ash) || (clear && sh))"]
|
||||
|
||||
const shellEnv = this.getShellEnv()
|
||||
const shellEnv = await this.getCachedShellEnv()
|
||||
this.shellProcess = pty.spawn(shell, args, {
|
||||
cols: 80,
|
||||
cwd: this.cwd() || shellEnv["HOME"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user