We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d621994 commit aa8ab42Copy full SHA for aa8ab42
src/errors/extractErrors.ts
@@ -42,7 +42,7 @@ export async function extractErrors(opts: any) {
42
const errorMapFilePath = opts.errorMapFilePath;
43
let existingErrorMap: any;
44
try {
45
- // Using `fs.readFileSync` instead of `require` here, because `require()`
+ // Using `fs.readFile` instead of `require` here, because `require()`
46
// calls are cached, and the cache map is not properly invalidated after
47
// file changes.
48
existingErrorMap = JSON.parse(await fs.readFile(errorMapFilePath, 'utf8'));
0 commit comments