We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 001dbda commit af4e0cfCopy full SHA for af4e0cf
hooks/post_gen_project.py
@@ -0,0 +1,8 @@
1
+from pathlib import Path
2
+
3
4
+path: Path
5
+for path in Path(".").glob("**/*.sh"):
6
+ data = path.read_bytes()
7
+ lf_data = data.replace(b"\r\n", b"\n")
8
+ path.write_bytes(lf_data)
0 commit comments