mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
resources.fsPath broken
This commit is contained in:
@@ -141,7 +141,7 @@ export function fsPath(uri: URI): string {
|
||||
} else if (
|
||||
isWindows
|
||||
&& uriPath.charCodeAt(0) === CharCode.Slash
|
||||
&& paths.isWindowsDriveLetter(uriPath.charCodeAt(0))
|
||||
&& paths.isWindowsDriveLetter(uriPath.charCodeAt(1))
|
||||
&& uriPath.charCodeAt(2) === CharCode.Colon
|
||||
) {
|
||||
value = uriPath.substr(1);
|
||||
|
||||
Reference in New Issue
Block a user