Skip to content

Commit 87e7b7c

Browse files
committed
refactor(desktop): infer editor URL guard type
1 parent 064749d commit 87e7b7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/desktop/src/electron/ElectronShell.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const REMOTE_EDITOR_PROTOCOLS = new Set(
1414
}),
1515
);
1616

17-
const isRemoteEditorUrl = (url: URL): boolean =>
17+
const isRemoteEditorUrl = (url: URL) =>
1818
REMOTE_EDITOR_PROTOCOLS.has(url.protocol) &&
1919
url.host === "vscode-remote" &&
2020
url.pathname.startsWith("/ssh-remote+") &&

0 commit comments

Comments
 (0)