mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-07 13:24:07 +07:00
Fix parsing extensions input if Zend OPcache
is specified instead of opcache
This commit is contained in:
@ -289,7 +289,7 @@ export async function extensionArray(
|
||||
return extension
|
||||
.trim()
|
||||
.toLowerCase()
|
||||
.replace(/^php[-_]/, '');
|
||||
.replace(/^(:)?(php[-_]|zend )/, '$1');
|
||||
})
|
||||
.filter(Boolean);
|
||||
}
|
||||
|
Reference in New Issue
Block a user