Use class write funtion for appending
This commit is contained in:
parent
45b0cafa2b
commit
1522b71317
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue