@@ -92,9 +92,9 @@ |
||
92 | 92 | |
93 | 93 | if ( isset( $argv[1] ) && in_array( $argv[1], array( 'git', 'grunt', 'composer', 'npm', 'ncu' ), true ) ) { |
94 | 94 | if ( isset( $argv[2] ) ) { |
95 | - $command = sprintf( '%s %s', $argv[ 1 ], $argv[ 2 ] ); |
|
95 | + $command = sprintf( '%s %s', $argv[1], $argv[2] ); |
|
96 | 96 | } else { |
97 | - $command = sprintf( '%s', $argv[ 1 ] ); |
|
97 | + $command = sprintf( '%s', $argv[1] ); |
|
98 | 98 | } |
99 | 99 | } |
100 | 100 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | * |
8 | 8 | * @link https://make.wordpress.org/cli/2017/05/03/managing-command-dependencies/ |
9 | 9 | */ |
10 | -\WP_CLI::add_hook( 'after_add_command:i18n make-pot', function () { |
|
10 | +\WP_CLI::add_hook( 'after_add_command:i18n make-pot', function() { |
|
11 | 11 | class MakePotCommand extends \WP_CLI\I18n\MakePotCommand { |
12 | 12 | public function __construct() { |
13 | 13 | parent::__construct(); |