aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-07-31 19:37:39 -0500
committerJack Nagel2014-07-31 19:59:09 -0500
commitf4ae1c9e1b603af9ada89de833a31c4ae50c3fb5 (patch)
tree3ceeba69a687dc35f8bf66d9017a4067163e9e5f /Library/Homebrew/cmd
parentabdff27cd7052619a029845b29cb3fd5054c9285 (diff)
downloadbrew-f4ae1c9e1b603af9ada89de833a31c4ae50c3fb5.tar.bz2
Hide the options data structure better
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 31e0b0da8..3660ad259 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -136,7 +136,7 @@ class FormulaAuditor
end
dep.options.reject do |opt|
- next true if dep_f.build.has_option?(opt.name)
+ next true if dep_f.option_defined?(opt)
dep_f.requirements.detect do |r|
if r.recommended?
opt.name == "with-#{r.name}"