mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
refactor: tests for tags
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
||||
const lexical = require('./lexical.js');
|
||||
const error = require('./error.js');
|
||||
const ParseError = require('./error.js').ParseError;
|
||||
|
||||
module.exports = function(Tag, Filter) {
|
||||
@@ -60,7 +59,7 @@ module.exports = function(Tag, Filter) {
|
||||
return token;
|
||||
}
|
||||
} catch (e) {
|
||||
throw new ParseError(e.message, token.input, token.line, e.stack);
|
||||
throw new ParseError(e.message, token.input, token.line);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user