Skip to content

pkg_type == "both" is a comparison, not an assignment #192

Description

@nonprofittechy

pkg_type == "both" is a comparison, not an assignment, so this block does not actually set the default package type when search_type is not compare_version. This likely leaves pkg_type unchanged/unset and can break downstream logic that expects it to be set. Use an assignment so the default is applied.

    pkg_type = "both"

Originally posted by @Copilot in #191 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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