MCPcopy Create free account
hub / github.com/nodejs/node / reportErrors

Function reportErrors

test/fixtures/snapshot/typescript.js:125477–125480  ·  view source on GitHub ↗
(_a, errors)

Source from the content-addressed store, hash-verified

125475 (_b = (_a = state.hostWithWatch).onWatchStatusChange) === null || _b === void 0 ? void 0 : _b.call(_a, ts.createCompilerDiagnostic.apply(void 0, __spreadArray([message], args, false)), state.host.getNewLine(), state.baseCompilerOptions);
125476 }
125477 function reportErrors(_a, errors) {
125478 var host = _a.host;
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);

Callers 4

emitBuildInfoFunction · 0.85
cleanFunction · 0.85
reportAndStoreErrorsFunction · 0.85
reportErrorSummaryFunction · 0.85

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected