mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
Fix linesep between gitignored entries
This commit is contained in:
parent
4f3ec4ddca
commit
ec887c11e8
|
@ -211,6 +211,7 @@ def append_to_gitignore(path):
|
||||||
gitignore_file_path = os.path.join(PROJECT_DIRECTORY, '.gitignore')
|
gitignore_file_path = os.path.join(PROJECT_DIRECTORY, '.gitignore')
|
||||||
with open(gitignore_file_path, 'a') as gitignore_file:
|
with open(gitignore_file_path, 'a') as gitignore_file:
|
||||||
gitignore_file.write(path)
|
gitignore_file.write(path)
|
||||||
|
gitignore_file.write(os.linesep)
|
||||||
|
|
||||||
# IN PROGRESS
|
# IN PROGRESS
|
||||||
# def copy_doc_files(project_directory):
|
# def copy_doc_files(project_directory):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user