diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-20 14:21:41 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-11-20 14:50:45 +0300 |
commit | 760dc3e42c74f7ee9cac4525c47ae12df548069c (patch) | |
tree | 9333872c209aa69af733e9892610e3a8c620ee5c /lib | |
parent | 7ea48bfb25ad44ece1a23b23bd7a29b0928ec2ba (diff) |
Fix upload tests, reformat code and make rubocop happy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/lfs/response.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/lfs/response.rb b/lib/gitlab/lfs/response.rb index 0371e1a7107..ada518f9e04 100644 --- a/lib/gitlab/lfs/response.rb +++ b/lib/gitlab/lfs/response.rb @@ -321,7 +321,6 @@ module Gitlab def download_hypermedia_links(all_objects, existing_objects) all_objects.each do |object| - # generate links only for existing objects if existing_objects.include?(object['oid']) object['actions'] = { 'download' => { @@ -344,7 +343,7 @@ module Gitlab def upload_hypermedia_links(all_objects, existing_objects) all_objects.each do |object| - # generate links only for non-existing objects + # generate actions only for non-existing objects next if existing_objects.include?(object['oid']) object['actions'] = { |