feat: cleaner logging

This commit is contained in:
TrèsAbhi committed 2025-07-11 12:28:50 -05:00
1 parent 3de0c40ce3
commit b4b1f4e916
1 file changed
+3 -2
@@ -73,12 +73,13 @@ export async function commitMultipleFiles(
} }
if (diff.status === DiffStatus.Unchanged) { if (diff.status === DiffStatus.Unchanged) {
console.log(`🔵 (${diff.change.toLocaleString()}B) ${change.path}`); // just don't bother
// console.log(`🔵 (${diff.change.toLocaleString()}B) ${change.path}`);
} else { } else {
console.log( console.log(
`${ `${
diff.status === DiffStatus.New ? '🟢' : '🟡' diff.status === DiffStatus.New ? '🟢' : '🟡'
} (+${diff.change.toLocaleString()}B) ${change.path}`, } (${diff.change > 0 ? '+' : ''}${diff.change.toLocaleString()}B) ${change.path}`,
); );
changes.push(change); changes.push(change);
} }