normalize slashes in names of external projects
This commit is contained in:
parent
bdaaf66702
commit
970ec1afb0
1 changed files with 2 additions and 3 deletions
|
@ -38,9 +38,8 @@ namespace ts.server {
|
|||
// TODO: fixme
|
||||
return <Path>"";
|
||||
case ProjectKind.External:
|
||||
const projectName = project.getProjectName();
|
||||
const host = project.projectService.host;
|
||||
return host.fileExists(projectName) ? <Path>getDirectoryPath(projectName) : <Path>projectName;
|
||||
const projectName = normalizeSlashes(project.getProjectName());
|
||||
return project.projectService.host.fileExists(projectName) ? <Path>getDirectoryPath(projectName) : <Path>projectName;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue