aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_pin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula_pin.rb')
-rw-r--r--Library/Homebrew/formula_pin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_pin.rb b/Library/Homebrew/formula_pin.rb
index c9a195fdd..0650c806f 100644
--- a/Library/Homebrew/formula_pin.rb
+++ b/Library/Homebrew/formula_pin.rb
@@ -31,7 +31,7 @@ class FormulaPin
end
def pinnable?
- @f.installed_prefixes.any?
+ !@f.installed_prefixes.empty?
end
def pinned_version