feat: put output on separate newlines

This commit is contained in:
Stevan Freeborn
2025-05-01 00:30:12 -05:00
parent 964f8211ae
commit daab0762c5
+1 -1
View File
@@ -41,7 +41,7 @@ try {
const totalRemoved = committedDiff.removed + uncommittedDiff.removed; const totalRemoved = committedDiff.removed + uncommittedDiff.removed;
const totalChanged = totalAdded + totalRemoved; const totalChanged = totalAdded + totalRemoved;
const output = `Total lines changed: ${totalChanged} (Committed: +${committedDiff.added}/-${committedDiff.removed}, Uncommitted: +${uncommittedDiff.added}/-${uncommittedDiff.removed})`; const output = `Total lines changed: ${totalChanged}\nCommitted: +${committedDiff.added}/-${committedDiff.removed}\nUncommitted: +${uncommittedDiff.added}/-${uncommittedDiff.removed}`;
console.clear(); console.clear();
console.log(output); console.log(output);