mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-06 03:09:33 +01:00
Fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user