-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Replace hardcoded uses of ":" by File.pathSeparator #5000
Comments
Regarding Windows, I noticed we use |
|
Some progress in #5085 by @martijnhoekstra, but they suggest we shouldn’t be closing this yet. |
@Blaisorblade I would suggest closing this for now -- I can't promise there are absolutely no hardcoded strings containing |
in scala, the platform-dependency issues tend to be
Ironically, many issues occur when one part of some system attempts to do platform compatibility for unneeded reasons (java println, git autoclrf, auto-conversion of /), and other parts don't, and then suddenly you have situations where you're checking for \r\n on windows while there is a \n which is working just fine, leading to errors or test failures. |
Closing on @martijnhoekstra’s recommendation. |
":" is used in various places in the codebase, this is wrong (it doesn't work on Windows) and should be replaced by File.pathSeparator
The text was updated successfully, but these errors were encountered: