Skip to content

Commit

Permalink
remove another case of cached readDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Mar 2, 2020
1 parent 63ca43a commit d5be577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -564,7 +564,7 @@ export function create (rawOptions: CreateOptions = {}): Register {
if (cacheContents !== undefined) return cacheContents
return cachedReadFile(fileName)
},
readDirectory: cachedLookup(debugFn('readDirectory', ts.sys.readDirectory)),
readDirectory: ts.sys.readDirectory,
getDirectories: cachedLookup(debugFn('getDirectories', ts.sys.getDirectories)),
fileExists: cachedLookup(debugFn('fileExists', fileExists)),
directoryExists: cachedLookup(debugFn('directoryExists', ts.sys.directoryExists)),
Expand Down

0 comments on commit d5be577

Please sign in to comment.