This commit is contained in:
Zvonimir Sabljic
2023-08-16 16:14:05 +02:00
parent 503815e854
commit 719d55deef

View File

@@ -136,7 +136,10 @@ class Project:
if not file_path.startswith('/'):
file_path = '/' + file_path
return (file_path, self.root_path + file_path + '/' + file_name)
if file_name != '':
file_name = '/' + file_name
return (file_path, self.root_path + file_path + file_name)
def save_files_snapshot(self, development_step_id):
files = get_files_content(self.root_path, ignore=IGNORE_FOLDERS)