Skip to content
Snippets Groups Projects
Commit 9ba21dd0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

better solution for #3027

parent d5663e14
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -137,7 +137,7 @@ class Repository
file_path = File.join(storage_path, self.path_with_namespace, file_name)
 
# Put files into a directory before archiving
prefix = self.path_with_namespace + "/"
prefix = File.basename(self.path_with_namespace) + "/"
 
# Create file if not exists
unless File.exists?(file_path)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment