You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
This commit is contained in:
@@ -10,7 +10,7 @@ for path in [
|
||||
"modules/mono/SdkPackageVersions.props",
|
||||
]:
|
||||
os.makedirs(os.path.dirname(path), exist_ok=True)
|
||||
with open(path, "w") as f:
|
||||
with open(path, "w", encoding="utf-8", newline="\n") as f:
|
||||
f.write("<Project />")
|
||||
|
||||
# Avoid importing GeneratedIncludes.props.
|
||||
|
||||
Reference in New Issue
Block a user