Remove old assertion about when we're allowed to use fileExists
This commit is contained in:
Родитель
f7f50073d3
Коммит
a6974474a1
|
@ -3114,7 +3114,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 => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче