Skip to content

Commit c9d1f0d

Browse files
author
Andy
authored
Merge pull request #10376 from Microsoft/remove_file_exists_assertion
Remove old assertion about when we're allowed to use fileExists
2 parents ef4fefc + a697447 commit c9d1f0d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/services/services.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3116,7 +3116,6 @@ namespace ts {
31163116
getCurrentDirectory: () => currentDirectory,
31173117
fileExists: (fileName): boolean => {
31183118
// stub missing host functionality
3119-
Debug.assert(!host.resolveModuleNames || !host.resolveTypeReferenceDirectives);
31203119
return hostCache.getOrCreateEntry(fileName) !== undefined;
31213120
},
31223121
readFile: (fileName): string => {

0 commit comments

Comments
 (0)