-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotless complains about line endings on Windows with core.autocrlf=false #437
Comments
I ran into the same issue,
|
The issue diffplug/spotless#540 is fixed with Spotless 6.2.1. So this issue should be fixed by merging #782. (or a follow-up PR if dependabot is faster) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extracted this issue from PR #427, see also the discussion on that PR...
The ArchUnit build
gradlew build
fails currently on my Windows machine:Spotless wants to change the line endings of all files in my working copy from \n to \r\n.
My Git is configured to
core.autocrlf=false
, so the line endings in my working copy are \n.Creating a
.gitattributes
file with the contentworked for me, but failed on GitHub's Windows runner, see https://github.com/TNG/ArchUnit/runs/1166974355
In this case, Spotless wants to change the line endings from \r\n to \n.
Spotless has an issue for this topic which is not resolved currently: diffplug/spotless#540
The text was updated successfully, but these errors were encountered: