Skip to content

Commit

Permalink
Merge pull request #368 from jamesgeorge007/hotfix/typo-fix
Browse files Browse the repository at this point in the history
fix(chore): fixed minor typo
  • Loading branch information
swyxio authored Dec 12, 2019
2 parents d621994 + aa8ab42 commit 78cccfe
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 78cccfe

Please sign in to comment.