From 345457b33e37af001991cd75419f9f977c1ec2ff Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 12 Feb 2014 13:59:18 -0500 Subject: Pass the string instead of reconstructing it from a regexp --- Library/Homebrew/cmd/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3