Skip to content

Commit

Permalink
Accept suggested change of pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
yulanggong committed May 25, 2020
1 parent 122d912 commit ffe29a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-traverse/src/scope/lib/renamer.js
Expand Up @@ -21,6 +21,7 @@ const renameVisitor = {
},

"AssignmentExpression|Declaration|VariableDeclarator"(path, state) {
if (path.isVariableDeclaration()) return;
const ids = path.getOuterBindingIdentifiers();

for (const name in ids) {
Expand Down

0 comments on commit ffe29a9

Please sign in to comment.