Skip to content

Commit d33438d

Browse files
committed
FIx tests on windows
1 parent 5bd1d92 commit d33438d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala3doc/src/dotty/dokka/SourceLinks.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ case class WebBasedSourceLink(prefix: String, revision: String, subPath: String)
4343
override def render(memberName: String, path: Path, operation: String, line: Option[Int]): String =
4444
val action = if operation == "view" then "blob" else operation
4545
val linePart = line.fold("")(l => s"#L$l")
46-
s"$prefix/$action/$revision$subPath/$path$linePart"
46+
s"$prefix/$action/$revision$subPath/${pathToString(path)}$linePart"
4747

4848
object SourceLink:
4949
val SubPath = "([^=]+)=(.+)".r

0 commit comments

Comments
 (0)