From d7f29cbec8dae69f1e75310d3395d89f1757abf6 Mon Sep 17 00:00:00 2001 From: scribu Date: Mon, 11 Feb 2013 20:10:31 +0200 Subject: [PATCH] make cmd runner return command string, for easy debugging --- tests/command-runner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/command-runner.php b/tests/command-runner.php index 3901991a..d35e4d1a 100644 --- a/tests/command-runner.php +++ b/tests/command-runner.php @@ -31,7 +31,7 @@ class WP_CLI_Command_Runner { $return_code = proc_close( $process ); - return (object) compact( 'return_code', 'stdout', 'stderr' ); + return (object) compact( 'command', 'return_code', 'stdout', 'stderr' ); } public function create_config( $db_settings ) { -- 2.11.0