mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-22 11:15:42 +00:00
Merge 2b5eb6e15a into e911e5e03a
This commit is contained in:
commit
86c6a1c8ae
1 changed files with 3 additions and 3 deletions
|
|
@ -24,13 +24,13 @@ class IncludeWorkdirExtras(Extension):
|
|||
|
||||
if project_name:
|
||||
project = projects.load_basic_project_data(project_name)
|
||||
enabled = project["file_structure"]["enabled"]
|
||||
enabled = project["file_structure"].get("enabled", False)
|
||||
|
||||
if not enabled:
|
||||
return
|
||||
|
||||
max_depth = project["file_structure"]["max_depth"]
|
||||
gitignore_raw = project["file_structure"]["gitignore"]
|
||||
max_depth = project["file_structure"].get("max_depth", 0)
|
||||
gitignore_raw = project["file_structure"].get("gitignore", "")
|
||||
|
||||
folder = projects.get_project_folder(project_name)
|
||||
if runtime.is_development():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue