aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-04-24 19:44:03 +0200
committerMarkus Reiter2017-04-25 12:29:01 +0200
commit133e5ddf6ad1b7c931f4686922ba4d61ea450f3a (patch)
tree4a53d351a1135b10032b73c129c29c68c2a3a3f6 /Library
parent4b804389e120d7172d0af541971e4e33f3447fc2 (diff)
downloadbrew-133e5ddf6ad1b7c931f4686922ba4d61ea450f3a.tar.bz2
Remove unnecessary block.
Diffstat (limited to 'Library')
-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 2daa23982..88c5199c2 100644
--- a/Library/Homebrew/utils/github.rb
+++ b/Library/Homebrew/utils/github.rb
@@ -234,7 +234,7 @@ module GitHub
end
def repository(user, repo)
- open(URI.parse("#{API_URL}/repos/#{user}/#{repo}")) { |j| j }
+ open(URI.parse("#{API_URL}/repos/#{user}/#{repo}"))
end
def search_code(*params)