Skip to content

Commit aa8ab42

Browse files
fix: minor typo
1 parent d621994 commit aa8ab42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors/extractErrors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function extractErrors(opts: any) {
4242
const errorMapFilePath = opts.errorMapFilePath;
4343
let existingErrorMap: any;
4444
try {
45-
// Using `fs.readFileSync` instead of `require` here, because `require()`
45+
// Using `fs.readFile` instead of `require` here, because `require()`
4646
// calls are cached, and the cache map is not properly invalidated after
4747
// file changes.
4848
existingErrorMap = JSON.parse(await fs.readFile(errorMapFilePath, 'utf8'));

0 commit comments

Comments
 (0)