Skip to content

Commit

Permalink
Merge pull request Homebrew#1510 from MikeMcQuaid/uninstall-no-nils
Browse files Browse the repository at this point in the history
uninstall: remove nil requireds/dependents
  • Loading branch information
MikeMcQuaid committed Nov 15, 2016
2 parents a92da09 + d7e7289 commit f4f90ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/cmd/uninstall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ class DependentsMessage
attr_reader :reqs, :deps

def initialize(requireds, dependents)
@reqs = requireds
@deps = dependents
@reqs = requireds.compact
@deps = dependents.compact
end

protected
Expand Down

0 comments on commit f4f90ca

Please sign in to comment.