Skip to content

Commit 553b0fa

Browse files
committed
fix(index): comments
1 parent 3a5d5dc commit 553b0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function walk (opts, nodes) {
228228

229229
// switch tag
230230
if (node.tag === switches[0]) {
231-
// throw an error if it's missing the "condition" attribute
231+
// throw an error if it's missing the "expression" attribute
232232
if (!(node.attrs && node.attrs.expression)) {
233233
throw new Error(`the "${switches[0]}" tag must have a "expression" attribute`)
234234
}

0 commit comments

Comments
 (0)