Skip to content

Commit 9916d5c

Browse files
committed
feature: @putout/plugin-remove-nested-blocks: remove useless crawl
1 parent 1c097f1 commit 9916d5c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/plugin-remove-nested-blocks/lib/remove-nested-blocks.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ function isReturnWithoutArg(path) {
5959
}
6060

6161
const isIntersect = (path, bindings) => {
62-
path.scope.crawl();
63-
6462
for (const key of keys(bindings)) {
6563
if (path.scope.hasBinding(key))
6664
return true;

0 commit comments

Comments
 (0)