aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-02-12 12:10:18 -0500
committerJack Nagel2014-02-12 12:10:44 -0500
commitff209c7b9c635c7e76383d651485702414ac2050 (patch)
tree445da54c7c92a8e0d14476ee0f86d98a055f78d3 /Library
parentf66eeec960b6c0bcde9a39c8811cab65f6fa8d67 (diff)
downloadbrew-ff209c7b9c635c7e76383d651485702414ac2050.tar.bz2
Drop unnecessary type check, we never pass a Formula instance
Diffstat (limited to 'Library')
-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)