Skip to content

poetry export returns zero exit code if extras value does not exist #33

@l0b0

Description

@l0b0

Issue

poetry export --extras="anything" prints an empty line and returns a zero exit code if the extra (in this case called "anything") does not exist. It should instead have the same result as running poetry export --extras="anything", which results in a ValueError and the message "Extra [anything] is not specified."

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