diff options
| author | Jack Nagel | 2014-12-27 17:07:30 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-27 17:07:30 -0500 |
| commit | 9e335fa0b8efc6061ec2ba011382bc65a9dd82e9 (patch) | |
| tree | 0ef8c64032b60a303c3d644d149f0c84bb51a197 /Library | |
| parent | 1ee1e2ca3cf0575d401c2ea369f0286192f34000 (diff) | |
| download | brew-9e335fa0b8efc6061ec2ba011382bc65a9dd82e9.tar.bz2 | |
Revert "audit (strict): check for use double-quotes."
This reverts commit 8fe14451842dea92bca04116ba043421b4f44a6b.
Conflicts:
Library/Homebrew/cmd/audit.rb
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 1d7e76796..b15e8361e 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 |
