Skip to content

Commit

Permalink
fixed visit to generic visit
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Sep 13, 2024
1 parent a45a6f6 commit dd2a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cross_sync/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def visit_If(self, node):
return [self.visit(n) for n in kept_branch]
else:
# keep the entire if statement
return self.visit(node)
return self.generic_visit(node)

def _is_async_check(self, node) -> bool:
"""
Expand Down

0 comments on commit dd2a65f

Please sign in to comment.