Skip to content

Commit 5ec6f4f

Browse files
committed
Convert windows paths (with \) to /
1 parent 337ea44 commit 5ec6f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/providers/setInterpreterProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function suggestionToQuickPickItem(suggestion: PythonPathSuggestion) : vscode.Qu
5656
return {
5757
label: suggestion.label,
5858
description: suggestion.type,
59-
detail: suggestion.path
59+
detail: utils.IS_WINDOWS ? suggestion.path.replace(/\\/g, "/") : suggestion.path
6060
}
6161
}
6262

0 commit comments

Comments
 (0)