Update tag.js

Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
pull/9988/head
S. Elliott Johnson 3 years ago committed by GitHub
parent 7c8564b873
commit d9803f1410
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -269,7 +269,7 @@ function open(parser) {
const snippet_declaration_end = find_matching_bracket(parser.template, parser.index, '{');
if (!snippet_declaration_end) {
error(start, 'TODO', 'Expected a closing curly bracket');
error(parser.template.length, 'unexpected-eof');
}
// we'll eat this later, so save it

Loading…
Cancel
Save