From b2b13ce03558f09e9d117f71b07dbdad3a0240a8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 12 Feb 2014 12:10:18 -0500 Subject: Drop unnecessary type check, we never pass a Formula instance --- Library/Homebrew/utils.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 5438f937f..cb0f6fb34 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -308,8 +308,6 @@ module GitHub extend self # formula in it. Which for stuff like objective-caml is unlikely. So we # really should search for aliases too. - name = f.name if Formula === name - # don't include issues that just refer to the tool in their body issues_matching(name).select { |issue| issue["state"] == "open" && issue["title"].include?(name) -- cgit v1.2.3