mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
make parent dirs
This commit is contained in:
parent
d45b7ae752
commit
596a6d1ae1
1 changed files with 1 additions and 0 deletions
|
@ -408,6 +408,7 @@ class Coder:
|
||||||
self.console.print(f"[red]Skipping edit to {path}")
|
self.console.print(f"[red]Skipping edit to {path}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Path(full_path).parent.mkdir(parents=True, exist_ok=True)
|
||||||
Path(full_path).touch()
|
Path(full_path).touch()
|
||||||
self.abs_fnames.add(full_path)
|
self.abs_fnames.add(full_path)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue