MCPcopy Create free account
hub / github.com/chartjs/Chart.js / fail

Function fail

scripts/check-ts-flags.js:30–33  ·  view source on GitHub ↗
(diagnostics)

Source from the content-addressed store, hash-verified

28};
29
30function fail(diagnostics) {
31 process.stderr.write(ts.formatDiagnosticsWithColorAndContext(diagnostics, host));
32 process.exitCode = 1;
33}
34
35const configPath = path.join(root, 'tsconfig.json');
36const {config, error} = ts.readConfigFile(configPath, ts.sys.readFile);

Callers 1

check-ts-flags.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected