aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-02-12 13:59:18 -0500
committerJack Nagel2014-02-12 13:59:18 -0500
commit345457b33e37af001991cd75419f9f977c1ec2ff (patch)
tree34c8c569c2d480f915052e567abe6c2e04bd5d3b /Library/Homebrew/cmd
parent0a3794776eec92186b91e5072221cf24466db8d7 (diff)
downloadbrew-345457b33e37af001991cd75419f9f977c1ec2ff.tar.bz2
Pass the string instead of reconstructing it from a regexp
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index e7eb26377..52a13516b 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -62,7 +62,7 @@ module Homebrew extend self
if count == 0 and not blacklisted? query
puts "No formula found for #{query.inspect}."
begin
- GitHub.find_pull_requests(rx) { |pull| puts pull }
+ GitHub.find_pull_requests(query) { |pull| puts pull }
rescue GitHub::Error => e
opoo e.message
end