diff options
| author | Misty De Meo | 2017-07-05 16:34:59 -0700 |
|---|---|---|
| committer | Misty De Meo | 2017-07-05 16:34:59 -0700 |
| commit | a79dc3e65b52a4ae9a3b3b0d850425d802c01403 (patch) | |
| tree | b2dfa9efe60de660b73a5241e2146015f0a38a11 /Library | |
| parent | 66f887e9100a687bc70297e347aa57040e5669d6 (diff) | |
| download | brew-a79dc3e65b52a4ae9a3b3b0d850425d802c01403.tar.bz2 | |
Formula#keg_only should be a boolean
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 0d000496b..f0b6f70bf 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1008,7 +1008,7 @@ class Formula # rarely, you don't want your library symlinked into the main prefix # see gettext.rb for an example def keg_only? - keg_only_reason && keg_only_reason.valid? + !!keg_only_reason && keg_only_reason.valid? end # @private |
