Skip to content

Commit

Permalink
fix: remove command
Browse files Browse the repository at this point in the history
  • Loading branch information
topliceanurazvan committed Feb 17, 2023
1 parent 291dee1 commit 1d1b642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electron/app/ipc/ipcListeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ ipcMain.on('pod.terminal.close', () => {
});

ipcMain.on('pod.terminal.init', (event, args) => {
const {previewKubeConfigPath, podNamespace, podName, containerName, webContentsId} = args;
const { podNamespace, podName, containerName, webContentsId} = args;
if (!webContentsId) {
return;
}
Expand All @@ -405,7 +405,7 @@ ipcMain.on('pod.terminal.init', (event, args) => {
podNamespace,
podName,
containerName,
['/bin/sh', '-c', 'clear; (bash || ash || sh)'],
['/bin/sh'],
outputStream,
outputStream,
commandStream,
Expand Down

0 comments on commit 1d1b642

Please sign in to comment.