Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly-Protasov committed Jul 24, 2020
1 parent bf433e4 commit 6ee0631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aibolit/patterns/method_chaining/method_chaining.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _is_invocation_inside(self, node: ASTNode) -> bool:
for i in node.children:
if i.node_type == ASTNodeType.METHOD_INVOCATION:
return True

return False

def _check_chained_method(self, ast: AST, method_invocation: ASTNode) -> bool:
Expand Down

0 comments on commit 6ee0631

Please sign in to comment.