Skip to content

Commit

Permalink
fix: minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Dec 12, 2019
1 parent d621994 commit aa8ab42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors/extractErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function extractErrors(opts: any) {
const errorMapFilePath = opts.errorMapFilePath;
let existingErrorMap: any;
try {
// Using `fs.readFileSync` instead of `require` here, because `require()`
// Using `fs.readFile` instead of `require` here, because `require()`
// calls are cached, and the cache map is not properly invalidated after
// file changes.
existingErrorMap = JSON.parse(await fs.readFile(errorMapFilePath, 'utf8'));
Expand Down

0 comments on commit aa8ab42

Please sign in to comment.