0
0
Fork 0

Update rubocop to version 1.72.2 and use plugins configuration style (#33946)

This commit is contained in:
Matt Jankowski 2025-02-18 03:25:41 -05:00 committed by GitHub
parent 405fa6de55
commit d75c4bf53e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 37 additions and 27 deletions

View file

@ -260,7 +260,7 @@ class Request
outer_e = nil
port = args.first
addresses = [] # rubocop:disable Lint/UselessAssignment # TODO: https://github.com/rubocop/rubocop/issues/13395
addresses = [] # rubocop:disable Lint/UselessAssignment -- TODO: https://github.com/rubocop/rubocop/issues/13395
begin
addresses = [IPAddr.new(host)]
rescue IPAddr::InvalidAddressError