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 3a5d5dc commit 553b0faCopy full SHA for 553b0fa
lib/index.js
@@ -228,7 +228,7 @@ function walk (opts, nodes) {
228
229
// switch tag
230
if (node.tag === switches[0]) {
231
- // throw an error if it's missing the "condition" attribute
+ // throw an error if it's missing the "expression" attribute
232
if (!(node.attrs && node.attrs.expression)) {
233
throw new Error(`the "${switches[0]}" tag must have a "expression" attribute`)
234
}
0 commit comments