Skip to content

We could incorrectly skip npm licenses if the extracted license text is not a string or mapping  #2639

@pombredanne

Description

@pombredanne

See https://github.com/nexB/scancode-toolkit/blob/41d2d5b4e9284505b39691c3f21b85ab7dc16772/src/packagedcode/npm.py#L109
... We could skip npm licenses if the declared license is not a string or mapping

We need a third case there, otherwise there is a possibility that we would silently not detect a license (we would still report that as a declared license alright)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions