Skip to content
Snippets Groups Projects
Commit f68d9261 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Fix typos

parent 07275dd7
No related branches found
No related tags found
No related merge requests found
Loading
@@ -110,7 +110,7 @@ module Gitlab
Loading
@@ -110,7 +110,7 @@ module Gitlab
if block_given? if block_given?
yield data yield data
# api.last_response could change while we're yielding (e.g. fetching labels for each PR) # api.last_response could change while we're yielding (e.g. fetching labels for each PR)
# so we cache our own last request # so we cache our own last response
each_response_page(last_response, &block) each_response_page(last_response, &block)
else else
each_response_page(last_response) { |page| data.concat(page) } each_response_page(last_response) { |page| data.concat(page) }
Loading
Loading
Loading
@@ -203,7 +203,7 @@ module Gitlab
Loading
@@ -203,7 +203,7 @@ module Gitlab
# No matching resource in the collection, which means we got halted right on the end of the last page, so all good # No matching resource in the collection, which means we got halted right on the end of the last page, so all good
return unless cut_off_index return unless cut_off_index
   
# Otherwise, remove the resouces we've already inserted # Otherwise, remove the resources we've already inserted
comments.shift(cut_off_index + 1) comments.shift(cut_off_index + 1)
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment