mirror of https://github.com/licensee/licensee.git
fix script/diff
This commit is contained in:
parent
31ac0fded9
commit
016dc44413
|
@ -10,7 +10,7 @@ if STDIN.tty? || ARGV[0].to_s.empty?
|
||||||
end
|
end
|
||||||
|
|
||||||
text = STDIN.read
|
text = STDIN.read
|
||||||
license_file = Licensee::Project::LicenseFile.new(text, 'LICENSE')
|
license_file = Licensee::ProjectFiles::LicenseFile.new(text, 'LICENSE')
|
||||||
license = Licensee::License.find(ARGV[0])
|
license = Licensee::License.find(ARGV[0])
|
||||||
|
|
||||||
if license.nil?
|
if license.nil?
|
||||||
|
|
Loading…
Reference in New Issue