Fixed small copy/paste bug.

This commit is contained in:
JesseBrault0709 2024-05-30 11:10:28 +02:00
parent 3c363cb71c
commit 52145cf013

View File

@ -80,7 +80,7 @@ class DefaultStaticSiteGenerator implements StaticSiteGenerator {
def templateUrl = componentClass.getResource(resourceName)
if (templateUrl == null) {
return Either.left(new Diagnostic(
"Could not find templateResource: $it.templateResource"
"Could not find templateResource: $resourceName"
))
}
def source = ComponentTemplateSource.of(templateUrl)