Skip to content

Bom validation in conflict with #573 #803

@tmuehlbacher

Description

@tmuehlbacher

#573 makes it so that there may be two license objects one with the expression from the Cargo.toml package.license field and the other from the package.license-file found in the repo.

When using the Bom validation functionality, this causes this error

"Use either array of 'license' or a single 'expression', but not both.",

I am not sure which one of these should win and don't really have a preference.

As a real world example for a crate version where this happens, see https://github.com/owo-colors/owo-colors/blob/v3.5.0/Cargo.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions