class LicenseFinder::Conan
def license_file(project_path, name)
def license_file(project_path, name) candidates = Dir.glob("#{project_path}/licenses/#{name}/**/LICENSE*") candidates.each do |candidate| return candidate if license_file_is_good?(candidate) end nil end