Skip to content

Commit

Permalink
Add end line in .gitignore (#3309)
Browse files Browse the repository at this point in the history
  • Loading branch information
boterop authored May 16, 2024
1 parent bc6f0f7 commit 99d5910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/utils/prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def initialize_gitignore(
# Write files to the .gitignore file.
with open(gitignore_file, "w", newline="\n") as f:
console.debug(f"Creating {gitignore_file}")
f.write(f"{(path_ops.join(sorted(files_to_ignore))).lstrip()}")
f.write(f"{(path_ops.join(sorted(files_to_ignore))).lstrip()}\n")


def initialize_requirements_txt():
Expand Down

0 comments on commit 99d5910

Please sign in to comment.