Skip to content

Commit

Permalink
Fix confusing comment (#5272) (#5273)
Browse files Browse the repository at this point in the history
  • Loading branch information
艁ukasz Lity艅ski authored and loganfsmyth committed Feb 7, 2017
1 parent ff8a10e commit badce96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-traverse/src/scope/index.js
Expand Up @@ -76,7 +76,7 @@ const collectorVisitor = {
},

Declaration(path) {
// delegate block scope handling to the `blockVariableVisitor`
// delegate block scope handling to the `BlockScoped` method
if (path.isBlockScoped()) return;

// this will be hit again once we traverse into it after this iteration
Expand Down

0 comments on commit badce96

Please sign in to comment.