Fix `Lint/UselessAssignment` cop

Matt Jankowski 2024-11-18 17:36:02 -05:00
parent b51db5b82d
commit aa835d4cec
1 changed files with 0 additions and 1 deletions

View File

@ -261,7 +261,6 @@ class Request
outer_e = nil
port = args.first
addresses = []
begin
addresses = [IPAddr.new(host)]
rescue IPAddr::InvalidAddressError