MCPcopy Create free account
hub / github.com/code-pushup/cli / logPersistedReport

Function logPersistedReport

packages/core/src/lib/implementation/persist.ts:80–87  ·  view source on GitHub ↗
(reportFiles: FileSize[])

Source from the content-addressed store, hash-verified

78}
79
80export function logPersistedReport(reportFiles: FileSize[]) {
81 logger.info(`Persisted report to file system:`);
82 reportFiles.forEach(({ file, size }) => {
83 const name = ansis.bold(path.relative(process.cwd(), file));
84 const suffix = ansis.gray(`(${formatBytes(size)})`);
85 logger.info(`• ${name} ${suffix}`);
86 });
87}

Callers 2

collectAndPersistReportsFunction · 0.85

Calls 2

formatBytesFunction · 0.90
infoMethod · 0.80

Tested by

no test coverage detected