mirror of https://github.com/tootsuite/mastodon
Fix `Lint/UselessAssignment` cop
parent
b51db5b82d
commit
aa835d4cec
|
@ -261,7 +261,6 @@ class Request
|
|||
outer_e = nil
|
||||
port = args.first
|
||||
|
||||
addresses = []
|
||||
begin
|
||||
addresses = [IPAddr.new(host)]
|
||||
rescue IPAddr::InvalidAddressError
|
||||
|
|
Loading…
Reference in New Issue