aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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