lib/licensee.rb in licensee-8.1.0 vs lib/licensee.rb in licensee-8.2.0
- old
+ new
@@ -39,13 +39,13 @@
# Returns the license for a given path
def license(path)
Licensee.project(path).license
end
- def project(path)
- Licensee::GitProject.new(path)
+ def project(path, **args)
+ Licensee::GitProject.new(path, args)
rescue Licensee::GitProject::InvalidRepository
- Licensee::FSProject.new(path)
+ Licensee::FSProject.new(path, args)
end
def confidence_threshold
@confidence_threshold ||= CONFIDENCE_THRESHOLD
end