Merge pull request #2989 from PierreGambarotto/master
archive download : namespace directory not created
This commit is contained in:
commit
7fad4a9636
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue