diff options
Diffstat (limited to 'lib/gitlab/github_import/importer.rb')
-rw-r--r-- | lib/gitlab/github_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/importer.rb b/lib/gitlab/github_import/importer.rb index 6c4f5acccb4..ecc28799737 100644 --- a/lib/gitlab/github_import/importer.rb +++ b/lib/gitlab/github_import/importer.rb @@ -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 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) end |