(state, proj, errors)
| 125479 | errors.forEach(function (err) { return host.reportDiagnostic(err); }); |
| 125480 | } |
| 125481 | function reportAndStoreErrors(state, proj, errors) { |
| 125482 | reportErrors(state, errors); |
| 125483 | state.projectErrorsReported.set(proj, true); |
| 125484 | if (errors.length) { |
| 125485 | state.diagnostics.set(proj, errors); |
| 125486 | } |
| 125487 | } |
| 125488 | function reportParseConfigFileDiagnostic(state, proj) { |
| 125489 | reportAndStoreErrors(state, proj, [state.configFileCache.get(proj)]); |
| 125490 | } |
no test coverage detected