Skip to content

Commit c971bc9

Browse files
committed
Mark app/concerns as autoload
To work with metasploit-concern 0.4.0 prerelease not deriving app/concerns from root and to ensure it is does not inherit eager_load from app.
1 parent b9bce90 commit c971bc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/metasploit/framework/common_engine.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module Metasploit::Framework::CommonEngine
3232
end
3333

3434
config.root = Msf::Config::install_root
35+
config.paths.add 'app/concerns', autoload: true
3536
config.paths.add 'data/meterpreter', glob: '**/ext_*'
3637
config.paths.add 'modules'
3738

0 commit comments

Comments
 (0)