Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-04-19 10:22:30 +03:00
1 parent 17d3edcd57
commit 2971d44c99
1 file changed
+1 -1
+1 -1
View File
@@ -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"],