Update rubocop to version 1.75.0 (#34283)

This commit is contained in:
Matt Jankowski 2025-03-27 03:48:19 -04:00 committed by GitHub
parent e9fe01e2a6
commit 0e3ff680d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 13 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 = []
begin
addresses = [IPAddr.new(host)]
rescue IPAddr::InvalidAddressError