Avoid line endings conversion of gradlew.bat#944
Conversation
|
@friederbluemle thanks for this change. It looks like they ended up going with facebook/react-native#32178 so maybe these files should remain? We could update react native and pull those changes in to resolve this issue I believe. |
The PR you referenced only fixed the gradlew.bat line endings in React Native's repo. The files in your repository are already correct, so no conversion is necessary. |
So we should still remove these files? |
|
I would say yes, because:
|
A fresh clone of this repo shows the file
gradlew.batas modified:The reason is a configuration which will convert line endings when the file is placed in the working directory. This conversion in unnecessary, as the file
gradlew.batis generated by Gradle'swrappertask with the correct line endings. It should not be modified manually. This has already been fixed on react-native's main branch: facebook/react-native#31398