Add more robust check for Mozilla Public License in license guessing
This commit is contained in:
parent
fecd6e867b
commit
3b84814c3a
|
@ -2875,8 +2875,8 @@ function guessLicense(text) {
|
|||
'LGPLv3': 'gnu lesser general public license,? version 3',
|
||||
'LGPL': 'gnu (library|lesser) general public license',
|
||||
'MIT': 'mit license',
|
||||
'MPL 1.1': 'mozilla public license,? (version |v|v\\.)?1\\.1',
|
||||
'MPL 2': 'mozilla public license,? (version |v|v\\.)?2',
|
||||
'MPL 1.1': 'mozilla public license,? (\\(MPL\\) )?(version |v|v\\.)?1\\.1',
|
||||
'MPL 2': 'mozilla public license,? (\\(MPL\\) )?(version |v|v\\.)?2',
|
||||
'MPL': 'mozilla public license',
|
||||
'CDDL': 'common development and distribution license',
|
||||
'Eclipse': 'eclipse public license',
|
||||
|
|
Loading…
Reference in New Issue
Block a user