aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
authorBen Muschol2017-08-14 11:41:29 -0400
committerBen Muschol2017-08-14 12:06:12 -0400
commit68cdb550f7b90318a136e4dd484249ab678f5fbc (patch)
tree4f055be5d5e432aac6f32408403663b5bd938982 /Library/Homebrew/utils
parent603bdd01a81e62d6b97a5da26d75d409e839a8fa (diff)
downloadbrew-68cdb550f7b90318a136e4dd484249ab678f5fbc.tar.bz2
Spec for issues search
Diffstat (limited to 'Library/Homebrew/utils')
-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"]})" }