From d5be5775d4874cff7ed50efba30018417df65ac6 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Sun, 1 Mar 2020 22:07:43 -0500 Subject: [PATCH] remove another case of cached readDirectory --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3f3d10d6c..33ea4a1d7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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)),