Accept PECL default parameters

This commit is contained in:
Shivam Mathur
2020-08-10 16:43:47 +05:30
parent 8876ac788f
commit 818ca89f55
5 changed files with 26 additions and 14 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export async function addExtensionDarwin(
const version_extension: string = version + extension;
const [extension_name, stability]: string[] = extension.split('-');
const ext_prefix = await utils.getExtensionPrefix(extension_name);
const command_prefix = 'sudo pecl install -f ';
const command_prefix = 'pecl_install ';
let command = '';
switch (true) {
// match pre-release versions