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.
Originally posted by @Copilot in #191 (comment)
pkg_type == "both"is a comparison, not an assignment, so this block does not actually set the default package type whensearch_typeis notcompare_version. This likely leavespkg_typeunchanged/unset and can break downstream logic that expects it to be set. Use an assignment so the default is applied.Originally posted by @Copilot in #191 (comment)