Skip to content

Commit b485830

Browse files
committed
Revert "making the column width for : also dynamic"
This reverts commit 75ba9d9.
1 parent 75ba9d9 commit b485830

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/helpers/sync/syncSpecsLogs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let specSummary = {
1313
"specs": [],
1414
"duration": null
1515
}
16-
let terminalWidth = (process.stdout.columns);
16+
let terminalWidth = (process.stdout.columns) * 0.9;
1717

1818
let getOptions = (auth, build_id) => {
1919
return {
@@ -34,8 +34,8 @@ let getTableConfig = () => {
3434
return {
3535
border: getBorderConfig(),
3636
columns: {
37-
1: {alignment: 'center', width: Math.ceil(terminalWidth * 0.01)},
38-
2: {alignment: 'left', width: Math.floor(terminalWidth * 0.70)}
37+
1: {alignment: 'center', width: 1},
38+
2: {alignment: 'left', width: Math.floor(terminalWidth * 0.8)}
3939
},
4040
columnDefault: {
4141
width: Math.floor(terminalWidth * 0.2),

0 commit comments

Comments
 (0)