Commit b6b6b640 authored by Pierre Gambarotto's avatar Pierre Gambarotto
Browse files

fix archive download : not creating namespace directory

parent a5947e44dd87
......@@ -141,7 +141,7 @@ def archive_repo(ref)
# Create file if not exists
unless File.exists?(file_path)
FileUtils.mkdir_p storage_path
FileUtils.mkdir_p File.dirname(file_path)
file = self.repo.archive_to_file(ref, prefix, file_path)
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