Skip to content
Snippets Groups Projects
Unverified Commit 6cb7d584 authored by Rylan Polster's avatar Rylan Polster Committed by GitHub
Browse files

Merge pull request #9283 from Rylan12/fix-update-python-resources

fix update-python-resources for formulae not in a tap
parents 4942d446 737d9b69
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ module PyPI
def update_python_resources!(formula, version: nil, package_name: nil, extra_packages: nil, exclude_packages: nil,
print_only: false, silent: false, ignore_non_pypi_packages: false)
auto_update_list = formula.tap.pypi_formula_mappings
auto_update_list = formula.tap&.pypi_formula_mappings
if auto_update_list.present? && auto_update_list.key?(formula.full_name) &&
package_name.blank? && extra_packages.blank? && exclude_packages.blank?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment