mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
make sure codegen doesn't cause spurious diffs for no reason
This commit is contained in:
parent
681322731b
commit
00816cc8ef
2 changed files with 2 additions and 2 deletions
|
@ -161,4 +161,4 @@ class DistributionTemplate(BaseModel):
|
|||
|
||||
docs = self.generate_markdown_docs()
|
||||
with open(doc_output_dir / f"{self.name}.md", "w") as f:
|
||||
f.write(docs)
|
||||
f.write(docs if docs.endswith("\n") else docs + "\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue