Skip to content

Commit 7a35540

Browse files
committed
Correction of the siteRoot path
- Add a getOrElse to not only take a value that does not match the default.
1 parent 7187e22 commit 7a35540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaladoc/src/dotty/tools/scaladoc/Scaladoc.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ object Scaladoc:
207207
classpath.get,
208208
bootclasspath.get,
209209
destFile,
210-
siteRoot.nonDefault,
210+
Option(siteRoot.withDefault(siteRoot.default)),
211211
projectVersion.nonDefault,
212212
projectLogo.nonDefault,
213213
projectFooter.nonDefault,

0 commit comments

Comments
 (0)