kessler / license-report

create a short report about a project's dependencies (license, url etc)
MIT License
236 stars 39 forks source link

Fix #36 (Inconsistent behaviour under different output types) #38

Closed BePo65 closed 3 years ago

BePo65 commented 3 years ago

As a proposal of how to solve issue #36, i modified the formatters for csv and html. The labels of the fields are used as column headers in csv and in html output (not only in table output).

I'm afraid that this is kind of breaking change; the default output for table and html views changes by using the labels as headers. But as the json output stays unchanged, which in my opinion is mainly used by scripts and programs, this should not be to large of a problem.