We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1755d2 commit 9738e95Copy full SHA for 9738e95
src/lib/formatters/text-table.ts
@@ -626,8 +626,8 @@ export class StreamingTable {
626
const totalFitted = this.columnWidths.reduce((s, w) => s + w, 0);
627
const lastIdx = this.columnWidths.length - 1;
628
if (totalFitted < maxContentWidth && lastIdx >= 0) {
629
- this.columnWidths[lastIdx] = (this.columnWidths[lastIdx] ?? 0) +
630
- (maxContentWidth - totalFitted);
+ this.columnWidths[lastIdx] =
+ (this.columnWidths[lastIdx] ?? 0) + (maxContentWidth - totalFitted);
631
}
632
633
0 commit comments