Skip to content

Commit

Permalink
Correct path display for plugins.
Browse files Browse the repository at this point in the history
Fixes #2548
  • Loading branch information
markstory committed Feb 5, 2012
1 parent d56cc43 commit f3b990b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/ControllerTask.php
Expand Up @@ -126,7 +126,7 @@ public function all() {
protected function _interactive() {
$this->interactive = true;
$this->hr();
$this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->path));
$this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->getPath()));
$this->hr();

if (empty($this->connection)) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/FixtureTask.php
Expand Up @@ -137,7 +137,7 @@ public function all() {
protected function _interactive() {
$this->DbConfig->interactive = $this->Model->interactive = $this->interactive = true;
$this->hr();
$this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->path));
$this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->getPath()));
$this->hr();

if (!isset($this->connection)) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/ModelTask.php
Expand Up @@ -190,7 +190,7 @@ public function inOptions($options, $prompt = null, $default = null) {
*/
protected function _interactive() {
$this->hr();
$this->out(__d('cake_console', "Bake Model\nPath: %s", $this->path));
$this->out(__d('cake_console', "Bake Model\nPath: %s", $this->getPath()));
$this->hr();
$this->interactive = true;

Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/TestTask.php
Expand Up @@ -94,7 +94,7 @@ protected function _interactive($type = null) {
$this->interactive = true;
$this->hr();
$this->out(__d('cake_console', 'Bake Tests'));
$this->out(__d('cake_console', 'Path: %s', $this->path));
$this->out(__d('cake_console', 'Path: %s', $this->getPath()));
$this->hr();

if ($type) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/Task/ViewTask.php
Expand Up @@ -195,7 +195,7 @@ public function all() {
*/
protected function _interactive() {
$this->hr();
$this->out(sprintf("Bake View\nPath: %s", $this->path));
$this->out(sprintf("Bake View\nPath: %s", $this->getPath()));
$this->hr();

$this->DbConfig->interactive = $this->Controller->interactive = $this->interactive = true;
Expand Down

0 comments on commit f3b990b

Please sign in to comment.