Commit 7fad4a96 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2989 from PierreGambarotto/master

archive download : namespace directory not created
parents c9ca15e8 b6b6b640
...@@ -141,7 +141,7 @@ class Repository ...@@ -141,7 +141,7 @@ class Repository
# Create file if not exists # Create file if not exists
unless File.exists?(file_path) 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) file = self.repo.archive_to_file(ref, prefix, file_path)
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