Skip to content

Commit 761c739

Browse files
authored
Merge pull request #20181 from amcasey/TiRootPath
Correct project root path passed to Typings Installer
2 parents b6799d7 + 1793652 commit 761c739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace ts.server {
4343
return <Path>"";
4444
case ProjectKind.External:
4545
const projectName = normalizeSlashes(project.getProjectName());
46-
return project.projectService.host.fileExists(projectName) ? <Path>getDirectoryPath(projectName) : <Path>projectName;
46+
return <Path>getDirectoryPath(projectName);
4747
}
4848
}
4949

0 commit comments

Comments
 (0)