mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 07:05:20 +00:00
Fix Lint/UselessAssignment
cop
This commit is contained in:
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 a new issue