aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-05-07 17:50:05 -0500
committerJack Nagel2012-05-07 17:50:05 -0500
commitfa1edd684653e324d36c431fa8bc33b95e651f9e (patch)
tree962625deef2e1bb04cd17732a444b2ae783c9e7b /Library/Homebrew/cmd
parent4d027874b04dc9322fbd08d81eb7abbd8e605e2d (diff)
downloadbrew-fa1edd684653e324d36c431fa8bc33b95e651f9e.tar.bz2
audit: don't count printed URLs as problems
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rwxr-xr-xLibrary/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 8157de70f..346226ca9 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -413,7 +413,7 @@ module Homebrew extend self
puts problems * "\n"
puts
brew_count += 1
- problem_count += problems.size
+ problem_count += problems.select{ |p| p.start_with? ' *' }.size
end
end