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 5403ce6 commit b8b6e61Copy full SHA for b8b6e61
src/harness/rwcRunner.ts
@@ -199,7 +199,7 @@ namespace RWC {
199
}
200
// Do not include the library in the baselines to avoid noise
201
const baselineFiles = inputFiles.concat(otherFiles).filter(f => !Harness.isDefaultLibraryFile(f.unitName));
202
- const errors = compilerResult.errors.filter(e => !Harness.isDefaultLibraryFile(e.file.fileName));
+ const errors = compilerResult.errors.filter(e => e.file && !Harness.isDefaultLibraryFile(e.file.fileName));
203
return Harness.Compiler.getErrorBaseline(baselineFiles, errors);
204
}, baselineOpts);
205
});
0 commit comments