Windows compat for PipelineMainTest, finally?#8153
Merged
retronym merged 2 commits intoscala:2.12.xfrom Jun 19, 2019
Merged
Conversation
Member
Author
|
A different failure this time: Trying another change to close the |
Member
Author
|
Oh great, now I've made Windows work but Unix is broken. |
martin-g
reviewed
Jun 17, 2019
| import collection.JavaConverters._ | ||
| val file = Paths.get(arg stripPrefix "@") | ||
| if (!Files.exists(file)) | ||
| throw new java.io.FileNotFoundException("argument file %s could not be found" format file) |
There was a problem hiding this comment.
just curious: any reason why you prefer String#format() than String interpolation ?
Member
Author
There was a problem hiding this comment.
I was minimizing the diff, but String interpolation would be fine here as well.
Member
Author
|
Just saw the flaky test failure in |
Member
|
learn to code, they said. programming is fun, they said. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://stackoverflow.com/questions/39628328/trying-to-create-a-directory-immediately-after-a-successful-deleteifexists-throw
Fixes scala/scala-dev#632 (hopefully, windows CI build scheduled)