mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
double checked for only translation, no changes
This commit is contained in:
parent
f2725b18ad
commit
5e1dcd8757
12 changed files with 182 additions and 168 deletions
|
|
@ -9,7 +9,7 @@ from pathlib import Path
|
|||
|
||||
|
||||
def get_project_root():
|
||||
"""Search upwards to find the project root directory."""
|
||||
"""Search upwards level by level for the project root directory."""
|
||||
current_path = Path.cwd()
|
||||
while True:
|
||||
if (current_path / '.git').exists() or \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue