This commit is contained in:
Nicholas Albion
2023-09-11 22:16:22 +10:00
parent a94cbf9209
commit e9e5532295
2 changed files with 1 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ class Project:
Save a file.
Args:
data (dict): File data.
data: { name: 'hello.py', path: 'path/to/hello.py', content: 'print("Hello!")' }
"""
# TODO fix this in prompts
if ' ' in data['name'] or '.' not in data['name']: