Formula#keg_only should be a boolean

This commit is contained in:
Misty De Meo 2017-07-05 16:34:59 -07:00
parent 66f887e910
commit a79dc3e65b

View File

@ -1008,7 +1008,7 @@ class Formula
# rarely, you don't want your library symlinked into the main prefix # rarely, you don't want your library symlinked into the main prefix
# see gettext.rb for an example # see gettext.rb for an example
def keg_only? def keg_only?
keg_only_reason && keg_only_reason.valid? !!keg_only_reason && keg_only_reason.valid?
end end
# @private # @private