Use class write funtion for appending

This commit is contained in:
Melissa LeBlanc-Williams 2025-08-06 10:13:38 -07:00
parent 45b0cafa2b
commit 1522b71317

View file

@ -181,8 +181,8 @@ class Shell:
) )
return False return False
with open(output_path, "w") as output_file: append = kwargs.get("append", False)
output_file.write(rendered_content) self.write_text_file(output_path, rendered_content, append=append)
return True return True