sbt-bom icon indicating copy to clipboard operation
sbt-bom copied to clipboard

Inconsistent whitespace on Windows

Open raboof opened this issue 1 year ago • 1 comments

When generating SBOMs on Windows, it looks like Windows line endings are used.

We probably want to be deterministic and generate exactly the same SBOM whether running on Windows or Unix-like systems.

Can be tested by removing the -w flag from the diff invocations in src/sbt-test/dependencies/*/build.sbt

raboof avatar Oct 24 '24 08:10 raboof

we may also need/want to use .gitattributes to set the core.autocrlf / https://betterstack.com/community/questions/git-replacing-lf-with-crlf/

raboof avatar Jan 19 '25 14:01 raboof