You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vscode.workspaces[0].uri.path on windows is returning a path with a forward slash in the beginning, but this is not a valid path. Could you remove it if node is running on Windows?
If it can't be removed is there a probem if I use the private prop _fsPath ? I'm asking it because that one is right.
VSCode Version: 1.46.0 this is the package version I'm currently using
OS Version: Windows 10
Steps to Reproduce:
Just call vscode.workspaces[0].uri.path on Windows
Does this issue occur when all extensions are disabled?: NA
The text was updated successfully, but these errors were encountered:
The path-component of uris always uses forward slashes, when accessing the file system you can use fsPath (which takes UNC paths into account). However, it is advised to use vscode.workspace.fs to read/write files because that can be used in other contexts as well
vscode.workspaces[0].uri.path
on windows is returning a path with a forward slash in the beginning, but this is not a valid path. Could you remove it if node is running on Windows?If it can't be removed is there a probem if I use the private prop
_fsPath
? I'm asking it because that one is right.Steps to Reproduce:
vscode.workspaces[0].uri.path
on WindowsDoes this issue occur when all extensions are disabled?: NA
The text was updated successfully, but these errors were encountered: