mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-05 12:24:08 +07:00
Install the stable release of xdebug even on PHP 7.4RC
This commit is contained in:
@ -50,13 +50,7 @@ export async function addExtensionWindows(
|
||||
let script = '\n';
|
||||
await utils.asyncForEach(extensions, async function(extension: string) {
|
||||
// add script to enable extension is already installed along with php
|
||||
let minimum_stability = 'stable';
|
||||
switch (version + extension.toLowerCase()) {
|
||||
case '7.4xdebug':
|
||||
minimum_stability = 'beta';
|
||||
break;
|
||||
}
|
||||
script += '\nAdd-Extension ' + extension + ' ' + minimum_stability;
|
||||
script += '\nAdd-Extension ' + extension;
|
||||
});
|
||||
return script;
|
||||
}
|
||||
|
Reference in New Issue
Block a user