From f88345201df0b4866997ef8b68b0e2304b33d025 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Wed, 29 Nov 2023 09:52:40 -0800 Subject: [PATCH] `ronin/nmap/importer` already requires `ronin/db`. --- lib/ronin/nmap/cli/commands/scan.rb | 2 -- lib/ronin/nmap/importer.rb | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/ronin/nmap/cli/commands/scan.rb b/lib/ronin/nmap/cli/commands/scan.rb index 6c04324..00f6eee 100644 --- a/lib/ronin/nmap/cli/commands/scan.rb +++ b/lib/ronin/nmap/cli/commands/scan.rb @@ -201,8 +201,6 @@ def save_output(path,output, format: ) # The path to the `.xml` file. # def import_scan(path) - require 'ronin/db' - db_connect import_file(path) end diff --git a/lib/ronin/nmap/importer.rb b/lib/ronin/nmap/importer.rb index 63cbfd6..9af870d 100644 --- a/lib/ronin/nmap/importer.rb +++ b/lib/ronin/nmap/importer.rb @@ -30,7 +30,6 @@ module Nmap # # ## Examples # - # require 'ronin/db' # require 'ronin/nmap/importer' # # Ronin::DB.connect