Skip to content

Commit

Permalink
fix: avoid clash between hook and dprint
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Nov 2, 2023
1 parent 982a433 commit ea75e6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/docs/user/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- This file is autogenerated by hooks/gen_docs/gen_docs_changelog.py. -->

# Changelog
## [2.0.11](https://github.com/bakdata/kpops/releases/tag/2.0.11) - Release Date: [2023-10-24]

Expand Down
2 changes: 1 addition & 1 deletion hooks/gen_docs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def copy_file(
shutil.copyfileobj(file_source, file_dest)
return
if header is None:
header_encoded = f"<!-- This file is autogenerated by {Path(inspect.stack()[1].filename).relative_to(ROOT)}. -->\n".encode()
header_encoded = f"<!-- This file is autogenerated by {Path(inspect.stack()[1].filename).relative_to(ROOT)}. -->\n\n".encode()
else:
header_encoded = header.encode()
with TemporaryFile() as file_header:
Expand Down

0 comments on commit ea75e6f

Please sign in to comment.