Add blank line before the raise method on Github::Collection

parent aeb1684c
...@@ -13,6 +13,7 @@ module Github ...@@ -13,6 +13,7 @@ module Github
loop do loop do
response = client.get(url, query) response = client.get(url, query)
response.body.each { |item| yielder << item } response.body.each { |item| yielder << item }
raise StopIteration unless response.rels.key?(:next) raise StopIteration unless response.rels.key?(:next)
url = response.rels[:next] url = response.rels[:next]
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment