mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-04-10 20:04:18 +03:00
Fix line endings for dotenv merge script on Windows (#5754)
This commit is contained in:
parent
a802ac491c
commit
6ea1f3c718
|
@ -1,4 +1,3 @@
|
|||
import os
|
||||
from collections.abc import Sequence
|
||||
from pathlib import Path
|
||||
|
||||
|
@ -18,7 +17,7 @@ def merge(
|
|||
merged_content = ""
|
||||
for merge_file in files_to_merge:
|
||||
merged_content += merge_file.read_text()
|
||||
merged_content += os.linesep
|
||||
merged_content += "\n"
|
||||
output_file.write_text(merged_content)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user