Land #13988, Ignore tests/specs when reloading files

This commit is contained in:
gwillcox-r7 2020-08-12 14:18:59 -05:00
commit 9f17dda98c
No known key found for this signature in database
GPG Key ID: D35E05C0F2B81E83
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