Ignore tests when reloading files

This commit is contained in:
Alan Foster 2020-08-12 16:51:20 +01:00
parent 2007583c29
commit 5970984563
No known key found for this signature in database
GPG Key ID: 3BD4FA3818818F04
1 changed files with 2 additions and 1 deletions

View File

@ -76,8 +76,9 @@ class Msf::Ui::Console::CommandDispatcher::Developer
files = output.split("\n")
files.each do |file|
next if file.end_with?('_spec.rb')
f = File.join(Msf::Config.install_root, file)
reload_file(file, print_errors: false)
reload_file(f, print_errors: false)
end
end