aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/utils.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index ed1f691d0..5438f937f 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -311,7 +311,9 @@ module GitHub extend self
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['title'].include? name }
+ issues_matching(name).select { |issue|
+ issue["state"] == "open" && issue["title"].include?(name)
+ }
end
def find_pull_requests rx