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 26, 2020
1 parent cc94b1c commit 6e38bc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-traverse/src/scope/lib/renamer.js
Original file line number Diff line number Diff line change
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 6e38bc5

Please sign in to comment.