Add end line in .gitignore (#3309)

This commit is contained in:
Santiago Botero 2024-05-16 15:22:44 -05:00 committed by GitHub
parent bc6f0f70cb
commit 99d59104ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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():