oclif/cli-ux

Empty column header doesn't work

Closed this issue · 2 comments

Attempting to silence a column header:

cli.table(tableData, {
  name: {
    header: "",
  },
  ...
});

doesn't have any effect. The column header is still printed as "Name".

In javascript, "" is falsey. You can use " ". But I'll update it to check for a string.

@RasPhilCo Yes, that's what I figured was going on so I switched to " ".