mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Fix support for symfony/flex
This commit is contained in:
parent
2b0d6e221f
commit
ad112b7981
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1900,7 +1900,7 @@ function getCleanedToolsList(tools_csv) {
|
|||||||
.map(function (extension) {
|
.map(function (extension) {
|
||||||
return extension
|
return extension
|
||||||
.trim()
|
.trim()
|
||||||
.replace(/robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
|
.replace(/symfony\/|robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
|
||||||
})
|
})
|
||||||
.filter(Boolean);
|
.filter(Boolean);
|
||||||
return [...new Set(tools_list)];
|
return [...new Set(tools_list)];
|
||||||
|
@ -323,7 +323,7 @@ export async function getCleanedToolsList(
|
|||||||
.map(function(extension: string) {
|
.map(function(extension: string) {
|
||||||
return extension
|
return extension
|
||||||
.trim()
|
.trim()
|
||||||
.replace(/robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
|
.replace(/symfony\/|robmorgan\/|hirak\/|narrowspark\/automatic-/, '');
|
||||||
})
|
})
|
||||||
.filter(Boolean);
|
.filter(Boolean);
|
||||||
return [...new Set(tools_list)];
|
return [...new Set(tools_list)];
|
||||||
|
Loading…
Reference in New Issue
Block a user