class Sorbet::Private::FetchRBIs

def self.vendor_rbis_within_paths(vendor_paths)

def self.vendor_rbis_within_paths(vendor_paths)
  vendor_paths.each do |vendor_path|
    relative_vendor_path = vendor_path.sub(RBI_CACHE_DIR, '')
    dest = "#{SORBET_RBI_SORBET_TYPED}/#{relative_vendor_path}"
    FileUtils.mkdir_p(dest)
    Dir.glob("#{vendor_path}/*.rbi").each do |rbi|
      extra_header = "#
If you would like to make changes to this file, great! Please upstream any changes you make here:
  https://github.com/sorbet/sorbet-typed/edit/master#{relative_vendor_path}/#{File.basename(rbi)}
      File.write("#{dest}/#{File.basename(rbi)}", HEADER + extra_header + File.read(rbi))
    end
  end
end