From fe9539a05ffb89bea781e7a4e7f7029980b30686 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 14 Jan 2019 10:43:03 +0100 Subject: [PATCH] resources.fsPath broken --- src/vs/base/common/resources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/base/common/resources.ts b/src/vs/base/common/resources.ts index 33d813365b4..9d236790f5e 100644 --- a/src/vs/base/common/resources.ts +++ b/src/vs/base/common/resources.ts @@ -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);