mirror of https://github.com/licensee/licensee.git
Use modifier if
This commit is contained in:
parent
7394be1e73
commit
46a6f9acec
|
@ -2,9 +2,7 @@ module Licensee
|
|||
class Project
|
||||
class PackageInfo < Licensee::Project::File
|
||||
def possible_matchers
|
||||
if filename == 'DESCRIPTION'
|
||||
return [Matchers::Cran]
|
||||
end
|
||||
return [Matchers::Cran] if filename == 'DESCRIPTION'
|
||||
case ::File.extname(filename)
|
||||
when '.gemspec'
|
||||
[Matchers::Gemspec]
|
||||
|
|
Loading…
Reference in New Issue