remove scope from generator visitor
This commit is contained in:
@@ -31,8 +31,8 @@ var visitor = function (path, file) {
|
||||
// Calling this.traverse(path) first makes for a post-order traversal.
|
||||
this.traverse(path);
|
||||
|
||||
var node = path.value;
|
||||
var scope = new Scope(node);
|
||||
var node = path.value;
|
||||
var scope; // we need to actually get the current scope
|
||||
|
||||
if (!node.generator && !node.async) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user