aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index dcab8572b..467e58f95 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -275,6 +275,12 @@ class FormulaAuditor
@specs.each do |spec|
ra = ResourceAuditor.new(spec).audit
problems.concat(ra.problems)
+
+ spec.resources.each_value do |resource|
+ ra = ResourceAuditor.new(resource)
+ ra.audit
+ problems.concat(ra.problems)
+ end
end
end