From f103f20b6917c9665ae282357a92e8d040c1d95a Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Wed, 15 Jun 2016 13:52:09 -0700 Subject: [PATCH] do getDirectoryPath after normalization --- src/server/editorServices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 0e01c4c5baa..d33461efc20 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -1000,7 +1000,7 @@ namespace ts.server { * the tsconfig file content and update the project; otherwise we create a new one. */ private openOrUpdateConfiguredProjectForFile(fileName: string): { configFileName?: string, configFileErrors?: Diagnostic[] } { - const searchPath = ts.normalizePath(getDirectoryPath(fileName)); + const searchPath = getDirectoryPath(normalizePath(fileName)); this.log("Search path: " + searchPath, "Info"); // check if this file is already included in one of external projects const configFileName = this.findConfigFile(searchPath);