mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-29 15:59:42 +02:00
修正
This commit is contained in:
parent
315fb65430
commit
041da760e0
147 changed files with 756 additions and 7644 deletions
|
|
@ -13,9 +13,9 @@ def get_project_root():
|
|||
current_path = Path.cwd()
|
||||
while True:
|
||||
if (
|
||||
(current_path / ".git").exists()
|
||||
or (current_path / ".project_root").exists()
|
||||
or (current_path / ".gitignore").exists()
|
||||
(current_path / ".git").exists()
|
||||
or (current_path / ".project_root").exists()
|
||||
or (current_path / ".gitignore").exists()
|
||||
):
|
||||
return current_path
|
||||
parent_path = current_path.parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue