MCPcopy Create free account
hub / github.com/cometchat/cometchat-uikit-angular / writeJsonReport

Function writeJsonReport

scripts/docs-audit.ts:459–464  ·  view source on GitHub ↗

* Writes the JSON report to disk.

(report: AuditReport)

Source from the content-addressed store, hash-verified

457 * Writes the JSON report to disk.
458 */
459function writeJsonReport(report: AuditReport): void {
460 fs.writeFileSync(REPORT_OUTPUT_PATH, JSON.stringify(report, null, 2), 'utf-8');
461 console.log(
462 `📄 JSON report written to: ${path.relative(process.cwd(), REPORT_OUTPUT_PATH)}`
463 );
464}
465
466// ============================================
467// Main

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected