Skip to content

Commit 0f5d626

Browse files
author
Andy Hanson
committed
Use this.toPath
1 parent 76ccefb commit 0f5d626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/editorServices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ namespace ts.server {
18841884
const path = toNormalizedPath(uncheckedFileName);
18851885
const info = this.getScriptInfoForNormalizedPath(path);
18861886
if (info) return info;
1887-
const configProject = this.configuredProjects.get(this.toCanonicalFileName(path));
1887+
const configProject = this.configuredProjects.get(this.toPath(uncheckedFileName));
18881888
return configProject && configProject.getCompilerOptions().configFile;
18891889
}
18901890

0 commit comments

Comments
 (0)