Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedelweiss committed Mar 7, 2023
1 parent db1bc0d commit 9336206
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ trait SiteRenderer(using DocContext) extends Locations:
.orElse(asStaticSite)
.orElse(asAsset)
.getOrElse {
if (!summon[DocContext].args.noLinkWarnings) then
if (!summon[DocContext].args.noLinkWarnings){
val msg = s"Unable to resolve link '$str'"
report.warn(msg, content.template.templateFile.file)
}
str
}

Expand Down

0 comments on commit 9336206

Please sign in to comment.