Remove old assertion about when we're allowed to use fileExists

This commit is contained in:
Andy Hanson 2016-08-16 13:51:17 -07:00
parent f7f50073d3
commit a6974474a1

View file

@ -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 => {