Add manual removal of `log/remove-cleaner` to Each removal
MSP-11130 When removing `Metasploit::Framework::Spec::Constants::Each.configure` from spec/spec_helper.rb, `Metasploit::Framework::Spec::Constants::Each.define_task` will see the `log/remove-cleaner` from the last run unless it is manually removed.bug/bundler_fix
parent
b0f1b2a1f7
commit
7cb0954a6e
|
@ -98,7 +98,7 @@ module Metasploit::Framework::Spec::Constants::Each
|
|||
if LOG_PATHNAME.exist?
|
||||
$stderr.puts "No leaks were cleaned by `#{self}.configured!`. Remove it from `spec/spec_helper.rb` so it " \
|
||||
"does not interfere with contexts that persist loaded modules for entire context and clean up " \
|
||||
"modules in `after(:all)`."
|
||||
"modules in `after(:all)` and then `rm log/remove-cleaner`"
|
||||
|
||||
exit(1)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue