aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-11-24 17:42:34 -0600
committerJack Nagel2012-11-24 17:42:45 -0600
commitc9ef48724ccd4a46909f619a9578b3c491e08355 (patch)
tree8bee72d17f0a94794de9b7d95f5da55e488b2fef /Library
parent532749248233652be79ce9f9eda158029e530945 (diff)
downloadbrew-c9ef48724ccd4a46909f619a9578b3c491e08355.tar.bz2
Remove outdated comment
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index f68df9d74..b09dfb1c3 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -78,10 +78,7 @@ class Formula
end
def explicitly_requested?
- # `ARGV.formulae` will throw an exception if it comes up with an empty list.
- # FIXME: `ARGV.formulae` shouldn't be throwing exceptions, see issue #8823
- return false if ARGV.named.empty?
- ARGV.formulae.include? self
+ ARGV.formulae.include?(self) rescue false
end
def linked_keg