lib/licensee/commands/diff.rb in licensee-9.14.0 vs lib/licensee/commands/diff.rb in licensee-9.14.1

- old
+ new

@@ -39,13 +39,13 @@ private 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 + return project.license_file if remote? || $stdin.tty? && project.license_file @license_to_diff ||= begin - Licensee::ProjectFiles::LicenseFile.new(STDIN.read, 'LICENSE') + Licensee::ProjectFiles::LicenseFile.new($stdin.read, 'LICENSE') end end def expected_license if options[:license]