make parent dirs

This commit is contained in:
Paul Gauthier 2023-05-11 23:24:29 -07:00
parent d45b7ae752
commit 596a6d1ae1

View file

@ -408,6 +408,7 @@ class Coder:
self.console.print(f"[red]Skipping edit to {path}")
continue
Path(full_path).parent.mkdir(parents=True, exist_ok=True)
Path(full_path).touch()
self.abs_fnames.add(full_path)