license-checker icon indicating copy to clipboard operation
license-checker copied to clipboard

license field output not normalized

Open cdaringe opened this issue 8 years ago • 1 comments

in the case where there is one license, the api returns:

licenses: 'SOMELICENSE'

in the case where there are many licenses, the api returns:

licenses: ['L1, 'L2']

it would be nice to unify the type output to always an array, or array|null

cdaringe avatar Oct 26 '16 17:10 cdaringe

Sure, it does make sense to always return an Array or null.

davglass avatar Oct 26 '16 18:10 davglass