diff options
| author | Jack Nagel | 2013-04-01 11:34:05 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-01 11:35:56 -0500 |
| commit | ad5b128fc7b4a36999cce97e62d8939fcf829655 (patch) | |
| tree | 6588793394d79105c2de93430878190d0bc0eecb /Library/Homebrew | |
| parent | 2befa0fd5c94e617d99672f75b4747fa8d43f34f (diff) | |
| download | brew-ad5b128fc7b4a36999cce97e62d8939fcf829655.tar.bz2 | |
audit: fix check for depending on requirement classes
Don't complain if it's instantiating the class so that it can pass
arguments.
Fixes Homebrew/homebrew#18883.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index b9c47eba0..dfb0355df 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -434,7 +434,7 @@ class FormulaAuditor problem "`skip_clean :all` is deprecated; brew no longer strips symbols" end - if text =~ /depends_on (.*)\.new\s*[^(]/ + if text =~ /depends_on (.*)\.new$/ problem "`depends_on` can take requirement classes directly" end end |
