-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Properly detect conflicts on windows #13179
Conversation
[test_windows_full]
fixes #13176 |
There was a problem hiding this 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('\\', '/') |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 \\
can we merge this? |
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 |
[test_windows_full]