mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 19:06:23 +02:00
1. Dev compatible with windows path
2. add @pytest.mark.skip
This commit is contained in:
parent
ec97645eb4
commit
dcb0623d46
2 changed files with 8 additions and 3 deletions
|
|
@ -96,7 +96,8 @@ class DependencyFile:
|
|||
key = Path(filename).relative_to(root)
|
||||
except ValueError:
|
||||
key = filename
|
||||
return set(self._dependencies.get(str(key), {}))
|
||||
key = re.sub(r"\\+", "/", str(key))
|
||||
return set(self._dependencies.get(key, {}))
|
||||
|
||||
def delete_file(self):
|
||||
"""Delete the dependency file."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue