small fixes

This commit is contained in:
Harrison Lambeth 2025-01-26 18:30:26 -07:00
parent f4933c6669
commit 38bb241ced
3 changed files with 3 additions and 2 deletions

View file

@ -37,6 +37,7 @@ class BaseGenerator:
def write_outputs(self, output_dir: Path) -> None:
for file_name, content in self.output_content.items():
(output_dir / file_name).parent.mkdir(parents=True, exist_ok=True)
with open(output_dir / file_name, 'w') as f:
f.write("\n".join(content))