From aa835d4cecab3ffff9cb3c937670500af514327a Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Mon, 18 Nov 2024 17:36:02 -0500 Subject: [PATCH] Fix `Lint/UselessAssignment` cop --- app/lib/request.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/lib/request.rb b/app/lib/request.rb index a12e6e3747..5ba3a86fdb 100644 --- a/app/lib/request.rb +++ b/app/lib/request.rb @@ -261,7 +261,6 @@ class Request outer_e = nil port = args.first - addresses = [] begin addresses = [IPAddr.new(host)] rescue IPAddr::InvalidAddressError