Skip to content

Commit

Permalink
code review: revert an unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
BobSilent committed Dec 14, 2023
1 parent 102a516 commit 46f1758
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/resolv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ def each_address(name)
yielded = false
@resolvers.each {|r|
r.each_address(name) {|address|
if block_given?
yield address.to_s
yielded = true
end
yield address.to_s
yielded = true
}
return if yielded
}
Expand Down

0 comments on commit 46f1758

Please sign in to comment.