Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In rubocop#10137 a fix was made that makes the condition asgn_node.send_type? && !asgn_node.assignment_method? unnecessary in AssignmentInCondition#skip_children?(). The spec example 'accepts = in a block followed by method call' that was added to regression test this part of the code still passes if I remove the condition.
- Loading branch information