mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 10:56:22 +02:00
fixbug: vscode, FileNotFoundError: [Errno 2] No such file or directory: '.vs/MetaGPT/v16/.suo'
This commit is contained in:
parent
933d6c12d1
commit
b892a9b43b
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class GitRepository:
|
|||
self._repository = Repo.init(path=Path(local_path))
|
||||
|
||||
gitignore_filename = Path(local_path) / ".gitignore"
|
||||
ignores = ["__pycache__", "*.pyc"]
|
||||
ignores = ["__pycache__", "*.pyc", ".vs"]
|
||||
with open(str(gitignore_filename), mode="w") as writer:
|
||||
writer.write("\n".join(ignores))
|
||||
self._repository.index.add([".gitignore"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue