Fix support for symfony/flex

This commit is contained in:
Shivam Mathur 2020-02-28 16:51:00 +05:30
parent 2b0d6e221f
commit ad112b7981
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -1900,7 +1900,7 @@ function getCleanedToolsList(tools_csv) {
.map(function (extension) {
return extension
.trim()
.replace(/robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
.replace(/symfony\/|robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
})
.filter(Boolean);
return [...new Set(tools_list)];

View File

@ -323,7 +323,7 @@ export async function getCleanedToolsList(
.map(function(extension: string) {
return extension
.trim()
.replace(/robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
.replace(/symfony\/|robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
})
.filter(Boolean);
return [...new Set(tools_list)];