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
commit4226386ef99e71c149b0bb45cba4dca5c52e6054 (patch)
tree056a0f0c368624863600201081c7cd63e3d10c4d /Library/Homebrew/cmd
parent1b182b422bedeb0cd12f6634a692399242e140fd (diff)
downloadhomebrew-4226386ef99e71c149b0bb45cba4dca5c52e6054.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}"