Skip to content

Commit a697447

Browse files
author
Andy Hanson
committed
Remove old assertion about when we're allowed to use fileExists
1 parent f7f5007 commit a697447

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/services/services.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3114,7 +3114,6 @@ namespace ts {
31143114
getCurrentDirectory: () => currentDirectory,
31153115
fileExists: (fileName): boolean => {
31163116
// stub missing host functionality
3117-
Debug.assert(!host.resolveModuleNames || !host.resolveTypeReferenceDirectives);
31183117
return hostCache.getOrCreateEntry(fileName) !== undefined;
31193118
},
31203119
readFile: (fileName): string => {

0 commit comments

Comments
 (0)