Skip to content

Commit 40f609c

Browse files
committed
Check new vscode server location
1 parent 0da4eaa commit 40f609c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/pkg/devcontainers/dockerutils.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,11 @@ func getSshAuthSockValue(containerID string) (string, error) {
359359
}
360360

361361
func getVscodeServerPath(containerID string) (string, error) {
362-
path, err := getLatestFileMatch(containerID, "/vscode/vscode-server/bin/linux-x64/*")
362+
path, err := getLatestFileMatch(containerID, "${HOME}/.vscode-server/bin/*")
363+
if err == nil {
364+
return path, err
365+
}
366+
path, err = getLatestFileMatch(containerID, "/vscode/vscode-server/bin/linux-x64/*")
363367
if err == nil {
364368
return path, err
365369
}

0 commit comments

Comments
 (0)