aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/github.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils/github.rb')
-rw-r--r--Library/Homebrew/utils/github.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb
index 960b563d9..8096c7b9c 100644
--- a/Library/Homebrew/utils/github.rb
+++ b/Library/Homebrew/utils/github.rb
@@ -266,7 +266,7 @@ module GitHub
puts "Closed pull requests:"
prs = open_or_closed_prs
else
- return
+ return []
end
prs.each { |i| puts "#{i["title"]} (#{i["html_url"]})" }