Empty column header doesn't work
Closed this issue · 2 comments
samuela commented
Attempting to silence a column header:
cli.table(tableData, {
name: {
header: "",
},
...
});
doesn't have any effect. The column header is still printed as "Name".
RasPhilCo commented
In javascript, ""
is falsey. You can use " "
. But I'll update it to check for a string.
samuela commented
@RasPhilCo Yes, that's what I figured was going on so I switched to " "
.