license_to_diff

in lib/licensee/commands/diff.rb [41:47]


  def license_to_diff
    return options[:license_to_diff] if options[:license_to_diff]
    return project.license_file if remote? || ($stdin.tty? && project.license_file)

    @license_to_diff ||= Licensee::ProjectFiles::LicenseFile.new($stdin.read, 'LICENSE')
  end