code review

This commit is contained in:
Andy Hanson
2018-08-10 11:50:39 -07:00
parent 77494d6294
commit ac460e30e7

View File

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