Skip to content

Commit 6bbe238

Browse files
committed
style: after lint
1 parent 771b2ce commit 6bbe238

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ module.exports = function postHTMLExpressions (options) {
115115
ignoredTag: 'raw',
116116
strictMode: true
117117
}, options)
118-
118+
119119
// set tags
120120
loops = options.loopTags
121121
scopes = options.scopeTags
@@ -268,15 +268,14 @@ function walk (opts, nodes) {
268268
}
269269

270270
// evaluate the expression, get the winning condition branch
271-
let branch;
271+
let branch
272272
try {
273273
branch = branches[vm.runInContext(expression, ctx)]
274274
} catch (error) {
275275
if (opts.strictMode) {
276276
throw new SyntaxError(error)
277277
}
278278
}
279-
280279

281280
// remove all of the conditional tags from the tree
282281
// we subtract 1 from i as it's incremented from the initial if statement

0 commit comments

Comments
 (0)