Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/features/workspace/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export function registerWorkspaceChannel(
// When a browse session id is supplied the user already authenticated
// via the SSH directory picker; use the legacy create+claimMaster path
// which reuses that session's ControlMaster without a second prompt.
if (createArgs && "location" in createArgs && createArgs.location.kind !== "ssh") {
// The legacy `{ rootPath }` shape is always a local folder.
if (!("location" in createArgs) || createArgs.location.kind !== "ssh") {
// Local: commit immediately — no connection step needed.
const meta = manager.create(createArgs);
return ipcOk(meta);
Expand Down