|
|
@@ -12,9 +12,8 @@ module.exports = class TableKit {
|
|
|
}
|
|
|
|
|
|
printTitles() {
|
|
|
- const colWidth = 30
|
|
|
const padTitles = this.titles.map((title) => {
|
|
|
- return title.padEnd(colWidth, ' ')
|
|
|
+ return title.padEnd(this.colWidth, ' ')
|
|
|
})
|
|
|
const titleLine = (() => {
|
|
|
let titleLine = ''
|