Skip to content

Commit

Permalink
Auto corrected by following Lint Ruby Parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Awesome Code committed Jan 17, 2021
1 parent ce2022b commit d0d7bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/synvert/core/rewriter/condition/if_exist_condition.rb
Expand Up @@ -7,7 +7,7 @@ class Rewriter::IfExistCondition < Rewriter::Condition
def match?
match = false
@instance.current_node.recursive_children do |child_node|
match ||= (child_node&.match?(@rules))
match ||= child_node&.match?(@rules)
end
match
end
Expand Down
Expand Up @@ -7,7 +7,7 @@ class Rewriter::UnlessExistCondition < Rewriter::Condition
def match?
match = false
@instance.current_node.recursive_children do |child_node|
match ||= (child_node&.match?(@rules))
match ||= child_node&.match?(@rules)
end
!match
end
Expand Down

0 comments on commit d0d7bbe

Please sign in to comment.