Merge pull request #10376 from Microsoft/remove_file_exists_assertion
Remove old assertion about when we're allowed to use fileExists
This commit is contained in:
commit
c9d1f0d150
1 changed files with 0 additions and 1 deletions
|
@ -3116,7 +3116,6 @@ namespace ts {
|
|||
getCurrentDirectory: () => currentDirectory,
|
||||
fileExists: (fileName): boolean => {
|
||||
// stub missing host functionality
|
||||
Debug.assert(!host.resolveModuleNames || !host.resolveTypeReferenceDirectives);
|
||||
return hostCache.getOrCreateEntry(fileName) !== undefined;
|
||||
},
|
||||
readFile: (fileName): string => {
|
||||
|
|
Loading…
Reference in a new issue