Skip to content

writeReport

writeReport(dir, name, data): Promise<string>

Defined in: src/audit/report.ts:17

Writes ${dir}/${name}-report.json (pretty-printed, credentials redacted), creating the directory if needed. Overwrites a previous report of the same name. Returns the absolute path.

string

string

unknown

Promise<string>