Skip to content

Commit 8a767bd

Browse files
authored
APQuest: Improve the auto-generated .gitignore for data/sounds (ArchipelagoMW#5670)
I didn't quite think this through: In this specific case, you want the gitignore to also ignore itself, since it itself is an auto-generated file.
1 parent 7df243b commit 8a767bd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

worlds/apquest/client/utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ def make_data_directory(dir_name: str) -> Path:
1616
gitignore = specific_data_directory / ".gitignore"
1717

1818
with open(gitignore, "w") as f:
19-
f.write(
20-
"""*
21-
!.gitignore
22-
"""
23-
)
19+
f.write("*\n")
2420

2521
return specific_data_directory

0 commit comments

Comments
 (0)