aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-07 11:53:37 -0700
committerAdam Vandenberg2013-07-17 06:58:10 -0700
commit0a42c40a8b69fd6fa0aceed4b185826e1e040eae (patch)
treed34c8026b5c8cfab39a3e704a1dc42475a2c4b61 /Library/Homebrew
parentd53c3ee48aedce7323305378d0493d6cb4d6de02 (diff)
downloadhomebrew-0a42c40a8b69fd6fa0aceed4b185826e1e040eae.tar.bz2
audit: ARGV.find is a warning, .value is allowed
Diffstat (limited to 'Library/Homebrew')
-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 785b63b29..eb14c321d 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