Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle case of .mill-version with Windows line ends (com-lihaoyi#3975)
This is a precaution for cases when the `.mill-version` file can contain a Windows line end `\r\n` instead of the typical Unix line end `\n`. Without this fix, in such situation the script breaks in a spectacular and surprising way. The error it was giving looked like this: ```sh $ mill __.compile curl: (3) URL using bad/illegal format or missing URL ``` Where `mill` is pointing to the wrapper script that I'm changing in this PR
- Loading branch information