Skip to content

Commit c96bcae

Browse files
committed
🤖 refactor: use isSSHRuntime() in openTerminal method
Use the type guard function instead of manual type === 'ssh' check for consistency with the rest of the codebase. Generated with `cmux`
1 parent 0360d52 commit c96bcae

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 = config.type === "ssh";
1295+
const isSSH = isSSHRuntime(config);
12961296

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

0 commit comments

Comments
 (0)