Commit 701e2df7 authored by Douwe Maan's avatar Douwe Maan

Satisfy Rubocop

parent 16bd4e56
...@@ -412,11 +412,11 @@ module API ...@@ -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
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