Satisfy Rubocop

This commit is contained in:
Douwe Maan 2016-06-10 12:29:15 +02:00
parent 16bd4e5668
commit 701e2df7e5

View file

@ -412,11 +412,11 @@ module API
def send_git_blob(repository, blob)
env['api.format'] = :txt
content_type 'text/plain'
header *Gitlab::Workhorse.send_git_blob(repository, blob)
header(*Gitlab::Workhorse.send_git_blob(repository, blob))
end
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