mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-19 23:52:15 +02:00
fix: Ensure scripts have LF line endings
Use gitattributes file to ensure script files have LF line endings. This solves a problem for users who wish to use DevContainers on Windows machines and the file has been cloned from the repository with CRLF line endings.
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
* text=auto
|
||||
*.sh text eol=lf
|
||||
Reference in New Issue
Block a user