mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-11-25 08:38:38 +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