Skip to content

Commit

Permalink
Fixed line endings in gitignore gen
Browse files Browse the repository at this point in the history
  • Loading branch information
cheese3660 committed Feb 26, 2023
1 parent 47dabc4 commit 524e0a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ModTemplateGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ def find_ksp2_install_path():
external_gitignore.write("*\n!.gitignore")

with open(f"{mod_id}/.gitignore", "w") as main_gitignore:
main_gitignore.writelines(
[
main_gitignore.write(
'\n'.join([
"*.rsuser",
"*.suo",
"*.user",
Expand All @@ -205,7 +205,7 @@ def find_ksp2_install_path():
"[Oo]bj/",
"[Ll]og/",
"[Ll]ogs/",
]
])
)

with open(f"{release_folder}/modinfo.json", "w") as modinfo:
Expand Down

0 comments on commit 524e0a5

Please sign in to comment.