diff options
Diffstat (limited to 'tools/node_modules/eslint/node_modules/acorn/dist/acorn.js')
-rw-r--r-- | tools/node_modules/eslint/node_modules/acorn/dist/acorn.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js b/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js index 44d95c5fae..0f5bce2180 100644 --- a/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js +++ b/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js @@ -1393,7 +1393,7 @@ pp$1.parseClassMethod = function(method, isGenerator, isAsync, allowsDirectSuper pp$1.parseClassId = function(node, isStatement) { if (this.type === types.name) { node.id = this.parseIdent(); - if (isStatement === true) + if (isStatement) { this.checkLVal(node.id, BIND_LEXICAL, false); } } else { if (isStatement === true) @@ -4961,7 +4961,7 @@ pp$8.readWord = function() { // // [walk]: util/walk.js -var version = "6.1.0"; +var version = "6.1.1"; // The main exported interface (under `self.acorn` when in the // browser) is a `parse` function that takes a code string and |