lib/licensee/commands/diff.rb in licensee-9.9.0.beta.2 vs lib/licensee/commands/diff.rb in licensee-9.9.0.beta.3
- old
+ new
@@ -39,10 +39,10 @@
def license_to_diff
return options[:license_to_diff] if options[:license_to_diff]
return project.license_file if remote?
- @license_via_stdin ||= begin
+ @license_to_diff ||= begin
if STDIN.tty?
error 'You must pipe license contents to the command via STDIN'
exit 1
end