From ae8bc6968e35b667d7cf7796db8ec3e6746ce320 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 5 May 2020 09:35:59 +0200 Subject: xo: style errors --- src/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/index.js b/src/index.js index c4c14ed..0c3e47d 100644 --- a/src/index.js +++ b/src/index.js @@ -96,10 +96,9 @@ function tokenizeModifierGenerator(oldParser, config) { function token(eat, value, silent) { // This we call the old tokenize const self = this; - let eaten = oldParser.call(self, eat, value, silent); + const eaten = oldParser.call(self, eat, value, silent); let index = 0; - const {length} = value; if (!eaten || !eaten.position || !eaten.children || eaten.children.length <= 0) { -- cgit v1.2.3