Validate blocks
This commit is contained in:
parent
b0c4bc5d3d
commit
20c956e0d6
|
@ -45,7 +45,10 @@ export function validateHbsTemplate(
|
||||||
) {
|
) {
|
||||||
const ignoreMissing = options?.ignoreMissing || false
|
const ignoreMissing = options?.ignoreMissing || false
|
||||||
nodes.forEach(node => {
|
nodes.forEach(node => {
|
||||||
if (isMustacheStatement(node) && isPathExpression(node.path)) {
|
if (
|
||||||
|
(isMustacheStatement(node) || isBlockStatement(node)) &&
|
||||||
|
isPathExpression(node.path)
|
||||||
|
) {
|
||||||
const helperName = node.path.original
|
const helperName = node.path.original
|
||||||
|
|
||||||
const from =
|
const from =
|
||||||
|
|
Loading…
Reference in New Issue