lib/licensee.rb in licensee-9.13.1 vs lib/licensee.rb in licensee-9.13.2
- old
+ new
@@ -36,15 +36,15 @@
Licensee.project(path).license
end
def project(path, **args)
if path =~ %r{\Ahttps://github.com}
- Licensee::Projects::GitHubProject.new(path, args)
+ Licensee::Projects::GitHubProject.new(path, **args)
else
- Licensee::Projects::GitProject.new(path, args)
+ Licensee::Projects::GitProject.new(path, **args)
end
rescue Licensee::Projects::GitProject::InvalidRepository
- Licensee::Projects::FSProject.new(path, args)
+ Licensee::Projects::FSProject.new(path, **args)
end
def confidence_threshold
@confidence_threshold ||= CONFIDENCE_THRESHOLD
end