Skip to content

Commit

Permalink
ronin/nmap/importer already requires ronin/db.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Nov 29, 2023
1 parent 728924f commit f883452
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/ronin/nmap/cli/commands/scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion lib/ronin/nmap/importer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ module Nmap
#
# ## Examples
#
# require 'ronin/db'
# require 'ronin/nmap/importer'
#
# Ronin::DB.connect
Expand Down

0 comments on commit f883452

Please sign in to comment.