APQuest: Improve the auto-generated .gitignore for data/sounds (#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.
This commit is contained in:
NewSoupVi
2026-02-13 23:35:12 +00:00
committed by GitHub
parent 7df243b860
commit 8a767bd2ad

View File

@@ -16,10 +16,6 @@ def make_data_directory(dir_name: str) -> Path:
gitignore = specific_data_directory / ".gitignore"
with open(gitignore, "w") as f:
f.write(
"""*
!.gitignore
"""
)
f.write("*\n")
return specific_data_directory