Skip to content

Commit 219fb7b

Browse files
committed
🤖 fix: revert to simple type check in openTerminal
The config parameter in openTerminal has a different shape than RuntimeConfig (workspacePath vs srcBaseDir), so we can't use the isSSHRuntime type guard here. Generated with `cmux`
1 parent c96bcae commit 219fb7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ipcMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ export class IpcMain {
12921292
remotePath: string;
12931293
}
12941294
): Promise<void> {
1295-
const isSSH = isSSHRuntime(config);
1295+
const isSSH = config.type === "ssh";
12961296

12971297
// Build SSH args if needed
12981298
let sshArgs: string[] | null = null;

0 commit comments

Comments
 (0)