Skip to content

Commit

Permalink
Use exists fileExists and getFile functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cevek committed Jun 21, 2017
1 parent 09c7482 commit a99486f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ export function register (options: Options = {}): Register {
},
getDirectories: getDirectories,
directoryExists: directoryExists,
fileExists: ts.sys.fileExists,
readFile: ts.sys.readFile,
fileExists: fileExists,
readFile: getFile,
readDirectory: ts.sys.readDirectory,
getNewLine: () => EOL,
getCurrentDirectory: () => cwd,
Expand Down

0 comments on commit a99486f

Please sign in to comment.