Drop unnecessary type check, we never pass a Formula instance
This commit is contained in:
parent
f66eeec960
commit
ff209c7b9c
@ -308,8 +308,6 @@ module GitHub extend self
|
|||||||
# formula in it. Which for stuff like objective-caml is unlikely. So we
|
# formula in it. Which for stuff like objective-caml is unlikely. So we
|
||||||
# really should search for aliases too.
|
# 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
|
# don't include issues that just refer to the tool in their body
|
||||||
issues_matching(name).select { |issue|
|
issues_matching(name).select { |issue|
|
||||||
issue["state"] == "open" && issue["title"].include?(name)
|
issue["state"] == "open" && issue["title"].include?(name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user