Use inspect instead of escaping quotes
This commit is contained in:
parent
13a2ceef5c
commit
90768d03d2
@ -26,7 +26,7 @@ module Homebrew extend self
|
|||||||
if not query.to_s.empty? and $stdout.tty? and msg = blacklisted?(query)
|
if not query.to_s.empty? and $stdout.tty? and msg = blacklisted?(query)
|
||||||
unless search_results.empty?
|
unless search_results.empty?
|
||||||
puts
|
puts
|
||||||
puts "If you meant `#{query}' precisely:"
|
puts "If you meant #{query.inspect} precisely:"
|
||||||
puts
|
puts
|
||||||
end
|
end
|
||||||
puts msg
|
puts msg
|
||||||
@ -54,7 +54,7 @@ module Homebrew extend self
|
|||||||
results.each { |r| puts_columns r }
|
results.each { |r| puts_columns r }
|
||||||
|
|
||||||
if $found == 0 and not blacklisted? query
|
if $found == 0 and not blacklisted? query
|
||||||
puts "No formula found for \"#{query}\". Searching open pull requests..."
|
puts "No formula found for #{query.inspect}. Searching open pull requests..."
|
||||||
GitHub.find_pull_requests(rx) { |pull| puts pull }
|
GitHub.find_pull_requests(rx) { |pull| puts pull }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user