From 456621bb5487812d55918f34793f31ac0d8cbb33 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 7 Jul 2013 11:53:37 -0700 Subject: [PATCH] audit: ARGV.find is a warning, .value is allowed --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 785b63b293..eb14c321da 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -463,7 +463,7 @@ class FormulaAuditor problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\"" end - if line =~ /ARGV\.(?!(debug\?|verbose\?|find[\(\s]))/ + if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/ problem "Use build instead of ARGV to check options" end