foundry-rs / compilers

Utilities for working with native solc and compiling projects.
Apache License 2.0
70 stars 41 forks source link

fix: always fix windows line endings #139

Closed klkvr closed 3 months ago

klkvr commented 3 months ago

Follow-up to https://github.com/foundry-rs/compilers/pull/108.

It seems that in certain cases files on WSL still have \r\n prefix, thus this PR changes logic to always fix Windows line endings and not only on Windows builds.