resources.fsPath broken

This commit is contained in:
Martin Aeschlimann
2019-01-14 10:43:03 +01:00
parent 9bc9af3df9
commit fe9539a05f

View File

@@ -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);