This commit is contained in:
zhouzinimg 2023-10-18 22:17:16 +08:00
parent 315fb65430
commit 041da760e0
147 changed files with 756 additions and 7644 deletions

View file

@ -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