diff --git a/index.js b/index.js index b4fd7f8..f5c2faa 100644 --- a/index.js +++ b/index.js @@ -125,7 +125,9 @@ const totalThings = Object.values(reports) .flat(); const kinds = new Set(totalThings.map((t) => t.type)); console.log( - `Finished with ${reports.length} files read, ${totalThings.length} things` + `Finished with ${Object.keys(reports).length} files read, ${ + totalThings.length + } things` ); for (const kind of kinds) { const count = totalThings.filter((t) => t.type === kind).length;