Require Fixes

This commit is contained in:
Jon Beaumont-Pike 2019-10-14 08:53:33 +01:00
parent 974f6fcca3
commit 6992f8272e
2 changed files with 2 additions and 4 deletions

View file

@ -14,9 +14,7 @@
"minimum-stability": "dev",
"require": {
"wp-cli/wp-cli": "^2.1",
"wp-cli/db-command": "^2.0"
},
"require-dev": {
"wp-cli/db-command": "^2.0",
"wp-cli/extension-command": "^2.0"
}
}

View file

@ -89,7 +89,7 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
if(!empty($dev_activated_plugins)) {
task_message('Activate Plugins');
$cleaned_arr_list = preg_replace('/[ ,]+/', ' ', trim($dev_activated_plugins));
$command = 'wp plugin activate '.$cleaned_arr_list;
$command = './vendor/bin/wp plugin activate '.$cleaned_arr_list;
system($command);
}