Fixed small copy/paste bug.
This commit is contained in:
parent
3c363cb71c
commit
52145cf013
@ -80,7 +80,7 @@ class DefaultStaticSiteGenerator implements StaticSiteGenerator {
|
|||||||
def templateUrl = componentClass.getResource(resourceName)
|
def templateUrl = componentClass.getResource(resourceName)
|
||||||
if (templateUrl == null) {
|
if (templateUrl == null) {
|
||||||
return Either.left(new Diagnostic(
|
return Either.left(new Diagnostic(
|
||||||
"Could not find templateResource: $it.templateResource"
|
"Could not find templateResource: $resourceName"
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
def source = ComponentTemplateSource.of(templateUrl)
|
def source = ComponentTemplateSource.of(templateUrl)
|
||||||
|
Loading…
Reference in New Issue
Block a user