From 63ab03262c46e09eb793b197ab5c45ed2216541a Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 7 Feb 2013 04:01:14 +0200 Subject: [PATCH] show plugin dir, instead of path on success message, since there's more than one generated file now --- php/commands/scaffold.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/commands/scaffold.php b/php/commands/scaffold.php index 300d37ba..f21135c1 100644 --- a/php/commands/scaffold.php +++ b/php/commands/scaffold.php @@ -187,7 +187,7 @@ class Scaffold_Command extends WP_CLI_Command { $this->add_testing_files( $plugin_dir, $plugin_slug ); - WP_CLI::success( "Created $plugin_path" ); + WP_CLI::success( "Created $plugin_dir" ); if ( isset( $assoc_args['activate'] ) ) WP_CLI::run_command( array( 'plugin', 'activate', $plugin_slug ) ); -- 2.11.0