diff options
| author | Markus Reiter | 2016-10-24 17:27:20 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-24 17:27:20 +0200 |
| commit | b28b21fd7fec17e372f8bf0fe118c32318d44f84 (patch) | |
| tree | cc3c1cd4edd9b264d49293af8555c95f37f7b23f /Library/Homebrew/dev-cmd | |
| parent | 3f3fa4d0f7d5c28598fb7a2495d01efa35c7f7a2 (diff) | |
| download | brew-b28b21fd7fec17e372f8bf0fe118c32318d44f84.tar.bz2 | |
Don’t use bare percent literals.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 12eaf9167..a9bccf454 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -716,11 +716,11 @@ class FormulaAuditor end if text =~ /system\s+['"]xcodebuild/ - problem %(use "xcodebuild *args" instead of "system 'xcodebuild', *args") + problem %q(use "xcodebuild *args" instead of "system 'xcodebuild', *args") end if text =~ /xcodebuild[ (]["'*]/ && !text.include?("SYMROOT=") - problem %(xcodebuild should be passed an explicit "SYMROOT") + problem 'xcodebuild should be passed an explicit "SYMROOT"' end if text.include? "Formula.factory(" @@ -1002,9 +1002,9 @@ class FormulaAuditor case condition when /if build\.include\? ['"]with-#{dep}['"]$/, /if build\.with\? ['"]#{dep}['"]$/ - problem %(Replace #{line.inspect} with "depends_on #{quoted_dep} => :optional") + problem %Q(Replace #{line.inspect} with "depends_on #{quoted_dep} => :optional") when /unless build\.include\? ['"]without-#{dep}['"]$/, /unless build\.without\? ['"]#{dep}['"]$/ - problem %(Replace #{line.inspect} with "depends_on #{quoted_dep} => :recommended") + problem %Q(Replace #{line.inspect} with "depends_on #{quoted_dep} => :recommended") end end |
