formula: tweak keg_only? formatting.
This commit is contained in:
parent
d9e0a0bce6
commit
fa031f5045
@ -1008,7 +1008,8 @@ 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?
|
return false unless keg_only_reason
|
||||||
|
keg_only_reason.valid?
|
||||||
end
|
end
|
||||||
|
|
||||||
# @private
|
# @private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user