aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-29 21:50:24 -0500
committerJack Nagel2014-07-29 21:54:32 -0500
commitd455d47cadd89f2dab76761a1d1bd6a1b610d2c2 (patch)
treeac4291e292c630aa61994fe524a14d018f0807db /Library/Homebrew/cmd/doctor.rb
parent7c66870e119ba936bdbe4eab940dd6e69968c228 (diff)
downloadhomebrew-d455d47cadd89f2dab76761a1d1bd6a1b610d2c2.tar.bz2
Limit exposure of the options data structures
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 150146329..5070356e4 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1006,7 +1006,7 @@ def check_for_non_prefixed_coreutils
end
def check_for_non_prefixed_findutils
- default_names = Tab.for_name('findutils').used_options.include? 'default-names'
+ default_names = Tab.for_name('findutils').include? 'default-names'
if default_names then <<-EOS.undent
Putting non-prefixed findutils in your path can cause python builds to fail.
EOS