Skip to content

Commit

Permalink
Correction of the siteRoot path
Browse files Browse the repository at this point in the history
- Add a getOrElse to not only take a value that does not match the default.
  • Loading branch information
Dedelweiss committed Apr 18, 2023
1 parent 7187e22 commit 7a35540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scaladoc/src/dotty/tools/scaladoc/Scaladoc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ object Scaladoc:
classpath.get,
bootclasspath.get,
destFile,
siteRoot.nonDefault,
Option(siteRoot.withDefault(siteRoot.default)),
projectVersion.nonDefault,
projectLogo.nonDefault,
projectFooter.nonDefault,
Expand Down

0 comments on commit 7a35540

Please sign in to comment.