From 4bcdb8aeb3ecee272722c9bb1eaa6e842dbeb7be Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 4 Jan 2013 09:30:57 -0800 Subject: [PATCH] audit: remove silly audit, remove duplicate audit --- Library/Homebrew/cmd/audit.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index c0762e0b6d..bb0e0f00b1 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -277,13 +277,8 @@ class FormulaAuditor end # Commented-out cmake support from default template - if (text =~ /# depends_on 'cmake'/) or (text =~ /# system "cmake/) - problem "Commented cmake support found" - end - - # 2 (or more in an if block) spaces before depends_on, please - if text =~ /^\ ?depends_on/ - problem "Check indentation of 'depends_on'" + if (text =~ /# system "cmake/) + problem "Commented cmake call found" end # build tools should be flagged properly