Skip to content

Commit

Permalink
Update Library/Homebrew/utils/pypi.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev authored Feb 12, 2024
1 parent 8c16ccc commit 44206bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Library/Homebrew/utils/pypi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,7 @@ def self.update_python_resources!(formula, version: nil, package_name: nil, extr
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
Expand Down

0 comments on commit 44206bb

Please sign in to comment.