Comparing version 2.8.0 to 2.9.0
@@ -71,3 +71,5 @@ 'use strict'; | ||
if (isObjectExpression(init)) | ||
if (isIdentifier(init)) | ||
use(path, init.name); | ||
else if (isObjectExpression(init)) | ||
traverseObj(path, init.properties); | ||
@@ -74,0 +76,0 @@ else if (isTemplateLiteral(init)) |
{ | ||
"name": "putout", | ||
"version": "2.8.0", | ||
"version": "2.9.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "find and remove unused variables", |
Sorry, the diff of this file is not supported yet
20910
447