mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
code review
This commit is contained in:
@@ -1804,7 +1804,7 @@ namespace ts.server {
|
||||
const path = toNormalizedPath(uncheckedFileName);
|
||||
const info = this.getScriptInfoForNormalizedPath(path);
|
||||
if (info) return info;
|
||||
const configProject = this.configuredProjects.get(this.toCanonicalFileName(uncheckedFileName));
|
||||
const configProject = this.configuredProjects.get(this.toCanonicalFileName(path));
|
||||
return configProject && configProject.getCompilerOptions().configFile;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user