Merge pull request #20181 from amcasey/TiRootPath

Correct project root path passed to Typings Installer
This commit is contained in:
Andrew Casey
2017-11-21 10:39:28 -08:00
committed by GitHub

View File

@@ -43,7 +43,7 @@ namespace ts.server {
return <Path>"";
case ProjectKind.External:
const projectName = normalizeSlashes(project.getProjectName());
return project.projectService.host.fileExists(projectName) ? <Path>getDirectoryPath(projectName) : <Path>projectName;
return <Path>getDirectoryPath(projectName);
}
}