Update Library/Homebrew/utils/pypi.rb

This commit is contained in:
Sean Molenaar 2024-02-12 16:09:33 +01:00 committed by GitHub
parent 8c16ccc646
commit 44206bb8f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -333,9 +333,7 @@ module PyPI
EOS
end
if exclude_packages.any?
odie "Excluded superfluous packages: #{", ".join(exclude_packages)}"
end
odie "Excluded superfluous packages: #{", ".join(exclude_packages)}" if exclude_packages.any?
if print_only
puts new_resource_blocks.chomp