Skip to content

Commit

Permalink
Merge pull request #17200 from Homebrew/brew-leaves-fix
Browse files Browse the repository at this point in the history
cmd/leaves: fix an `undefined method` error
  • Loading branch information
ZhongRuoyu authored May 1, 2024
2 parents 542edec + 0b66879 commit e60e035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/leaves.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def installed_on_request?(formula)
end

def installed_as_dependency?(formula)
formula.any_installed_keg.installed_as_dependency
formula.any_installed_keg.tab.installed_as_dependency
end
end
end
Expand Down

0 comments on commit e60e035

Please sign in to comment.