fix handling remote unix paths on Windows over Remote Tunnels (#1659)

This commit is contained in:
Itamar Schen 2024-07-04 19:08:58 +03:00 • committed by GitHub
parent 13f85396b5
commit 3afeb9a8ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"