project

in lib/licensee.rb [36:45]


    def project(path, **args)
      if %r{\Ahttps://github.com}.match?(path)
        Licensee::Projects::GitHubProject.new(path, **args)
      else
        Licensee::Projects::GitProject.new(path, **args)
      end
    rescue Licensee::Projects::GitProject::InvalidRepository
      Licensee::Projects::FSProject.new(path, **args)
    end