Skip to content

Properly detect conflicts on windows #13179

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

Conversation

romanowski
Copy link
Contributor

[test_windows_full]

@romanowski
Copy link
Contributor Author

fixes #13176

@romanowski romanowski requested a review from BarkingBad July 28, 2021 09:58
@griggt griggt linked an issue Jul 28, 2021 that may be closed by this pull request
Copy link
Contributor

@BarkingBad BarkingBad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK, just a small nitpick

@@ -171,8 +171,9 @@ trait Resources(using ctx: DocContext) extends Locations, Writer:
)

def renderResource(resource: Resource): Seq[String] =
if resource.path.endsWith(".html") && apiPaths.contains(resource.path) then
report.error(s"Conflict between resource and API member for ${resource.path}. $pathsConflictResoultionMsg")
val normalizedPath = resource.path.replace('\\', '/')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't be Paths.get(resource.path).toString more elegant in that case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may still return representation with \\

@bishabosha
Copy link
Member

can we merge this?

@romanowski
Copy link
Contributor Author

I am not sure why CI restarted for some tests, but I think once everything is green we can merge it.

@romanowski romanowski enabled auto-merge August 2, 2021 08:52
@bishabosha
Copy link
Member

I am not sure why CI restarted for some tests, but I think once everything is green we can merge it.

sorry, I restarted it because the ci had failed previously due to the scaladoc / stdlib-sourcelinks-test

@romanowski romanowski merged commit 3aa6e2f into scala:master Aug 2, 2021
@Kordyjan Kordyjan added this to the 3.1.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly Dotty workflow of 2021-07-28 failed
4 participants