From 3ea585d772db5e5fdf751440c79539fe5a374c04 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Thu, 15 Feb 2024 11:52:22 -0800 Subject: [PATCH] Make rubocop happy. --- lib/ronin/masscan/cli/commands/print.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ronin/masscan/cli/commands/print.rb b/lib/ronin/masscan/cli/commands/print.rb index 80a2d22..c6037d1 100644 --- a/lib/ronin/masscan/cli/commands/print.rb +++ b/lib/ronin/masscan/cli/commands/print.rb @@ -98,7 +98,7 @@ def print_records_for_ip(ip,records) puts "[ #{ip} ]" puts - records.group_by(&:port).each do |port,port_records| + records.group_by(&:port).each_value do |port_records| status = port_records.first banners = port_records[1..]