Remove the check that if base file name starts with ^ is dynamic file name since those files can exist (#36109)

Fixes #35734
This commit is contained in:
Sheetal Nandi
2020-01-10 10:57:44 -08:00
committed by GitHub
parent 13cddae3f7
commit 00b21efcb0
3 changed files with 40 additions and 1 deletions

View File

@@ -272,7 +272,7 @@ namespace ts.server {
/*@internal*/
export function isDynamicFileName(fileName: NormalizedPath) {
return fileName[0] === "^" || getBaseFileName(fileName)[0] === "^";
return fileName[0] === "^";
}
/*@internal*/