We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08baefe commit 331f5e4Copy full SHA for 331f5e4
lib/index.js
@@ -321,8 +321,7 @@ function walk (opts, nodes) {
321
if (loops.includes(node.tag)) {
322
// handle syntax error
323
if (!(node.attrs && node.attrs.loop)) {
324
- const tagName = loops.find(() => node.tag)
325
- throw new Error(`the "${tagName}" tag must have a "loop" attribute`)
+ throw new Error(`the "${node.tag}" tag must have a "loop" attribute`)
326
}
327
328
// parse the "loop" param
0 commit comments