mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix license script old licenses array
This commit is contained in:
@@ -51,7 +51,7 @@ checker.init({
|
|||||||
} else {
|
} else {
|
||||||
for (var packageName in packages) {
|
for (var packageName in packages) {
|
||||||
var pack = packages[packageName];
|
var pack = packages[packageName];
|
||||||
pack['licenseExp'] = pack['licenses']
|
pack['licenseExp'] = pack['licenses'].toString()
|
||||||
.replace(/\*/, '')
|
.replace(/\*/, '')
|
||||||
.replace(/[a-zA-Z0-9\-\.]+/g, match => {
|
.replace(/[a-zA-Z0-9\-\.]+/g, match => {
|
||||||
var lowerMatch = match.toLowerCase();
|
var lowerMatch = match.toLowerCase();
|
||||||
|
Reference in New Issue
Block a user