lib/license_scout/collector.rb in license_scout-2.2.0 vs lib/license_scout/collector.rb in license_scout-2.4.0

- old
+ new

@@ -55,10 +55,10 @@ rescue LicenseScout::Exceptions::MissingSourceDirectory => e raise LicenseScout::Exceptions::Error.new("#{e.message}\n\n\tPlease try running `#{dep_mgr.install_command}` to download the dependency.\n") end def dependency_managers - @dependency_managers ||= LicenseScout::Config.directories.map do |dir| + @dependency_managers ||= LicenseScout::Config.all_directories.map do |dir| LicenseScout::DependencyManager.implementations.map do |implementation| dep_mgr = implementation.new(File.expand_path(dir)) if dep_mgr.detected? LicenseScout::Log.info("[collector] Found #{dep_mgr.signature} in #{dir}") dep_mgr