From 9e335fa0b8efc6061ec2ba011382bc65a9dd82e9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 27 Dec 2014 17:07:30 -0500 Subject: [PATCH] Revert "audit (strict): check for use double-quotes." This reverts commit 8fe14451842dea92bca04116ba043421b4f44a6b. Conflicts: Library/Homebrew/cmd/audit.rb --- Library/Homebrew/cmd/audit.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 1d7e767962..b15e8361ef 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -558,12 +558,6 @@ class FormulaAuditor problem "Use `system #{good_system}` instead of `system #{bad_system}` " end - if line =~ /^[^#"]*('[^']*')/ - bad_quotes = $1 - good_quotes = bad_quotes.gsub "'", "\"" - problem "use double-quotes for `#{good_quotes}` instead of `#{bad_quotes}`" - end - if line =~ /(require ["']formula["'])/ problem "`#{$1}` is now unnecessary" end