From 3afeb9a8ba22ae720b5196da1d6d04aaaedf4b81 Mon Sep 17 00:00:00 2001 From: Itamar Schen Date: Thu, 4 Jul 2024 19:08:58 +0300 Subject: [PATCH] fix handling remote unix paths on Windows over Remote Tunnels (#1659) --- extensions/vscode/src/util/vscode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/src/util/vscode.ts b/extensions/vscode/src/util/vscode.ts index 51c266d27..fb394833c 100644 --- a/extensions/vscode/src/util/vscode.ts +++ b/extensions/vscode/src/util/vscode.ts @@ -125,7 +125,7 @@ function windowsToPosix(windowsPath: string): string { function isWindowsLocalButNotRemote(): boolean { return ( vscode.env.remoteName !== undefined && - ["wsl", "ssh-remote", "dev-container", "attached-container"].includes( + ["wsl", "ssh-remote", "dev-container", "attached-container", "tunnel"].includes( vscode.env.remoteName, ) && process.platform === "win32"