Skip to content
Snippets Groups Projects
Commit 701e2df7 authored by Douwe Maan's avatar Douwe Maan
Browse files

Satisfy Rubocop

parent 16bd4e56
Branches
Tags
1 merge request!4486Add workhorse controller and API helpers
Pipeline #
Loading
@@ -412,11 +412,11 @@ module API
Loading
@@ -412,11 +412,11 @@ module API
def send_git_blob(repository, blob) def send_git_blob(repository, blob)
env['api.format'] = :txt env['api.format'] = :txt
content_type 'text/plain' content_type 'text/plain'
header *Gitlab::Workhorse.send_git_blob(repository, blob) header(*Gitlab::Workhorse.send_git_blob(repository, blob))
end end
   
def send_git_archive(repository, ref:, format:) def send_git_archive(repository, ref:, format:)
header *Gitlab::Workhorse.send_git_archive(repository, ref: ref, format: format) header(*Gitlab::Workhorse.send_git_archive(repository, ref: ref, format: format))
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment