Fix parsing extensions input if Zend OPcache is specified instead of opcache

This commit is contained in:
Shivam Mathur
2021-08-25 20:09:50 +05:30
parent c8837583fc
commit 8e80635955
3 changed files with 5 additions and 8 deletions

2
dist/index.js vendored
View File

@ -1050,7 +1050,7 @@ async function extensionArray(extension_csv) {
return extension
.trim()
.toLowerCase()
.replace(/^php[-_]/, '');
.replace(/^(:)?(php[-_]|zend )/, '$1');
})
.filter(Boolean);
}