mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 02:46:24 +02:00
feat: merge geekan:cli-etc
This commit is contained in:
parent
eff1cb7dc1
commit
7b44fccf8d
5 changed files with 26 additions and 92 deletions
|
|
@ -16,7 +16,7 @@ from typing import Dict
|
|||
from git.repo import Repo
|
||||
from git.repo.fun import is_git_dir
|
||||
|
||||
from metagpt.const import WORKSPACE_ROOT
|
||||
from metagpt.const import DEFAULT_WORKSPACE_ROOT
|
||||
from metagpt.logs import logger
|
||||
from metagpt.utils.dependency_file import DependencyFile
|
||||
from metagpt.utils.file_repository import FileRepository
|
||||
|
|
@ -201,7 +201,7 @@ class GitRepository:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
path = WORKSPACE_ROOT / "git"
|
||||
path = DEFAULT_WORKSPACE_ROOT / "git"
|
||||
path.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
repo = GitRepository()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue