aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-12 12:10:18 -0500
committerJack Nagel2014-02-12 12:10:44 -0500
commitb2b13ce03558f09e9d117f71b07dbdad3a0240a8 (patch)
tree621963f6736b6f657113776067f13905e142d87b /Library/Homebrew/utils.rb
parentea32e9e5d217149bae5afa260e66d8c3ae5a8b42 (diff)
downloadhomebrew-b2b13ce03558f09e9d117f71b07dbdad3a0240a8.tar.bz2
Drop unnecessary type check, we never pass a Formula instance
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 0 insertions, 2 deletions
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)