Skip to content

Commit

Permalink
Remove welcome message and remove dead paths.
Browse files Browse the repository at this point in the history
Welcome messages on tasks make no sense, the excluded paths no longer
exist, so they can be removed entirely.

Refs #7345
  • Loading branch information
markstory committed Sep 5, 2015
1 parent af3c9c7 commit 530719b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/Shell/Task/ExtractTask.php
Expand Up @@ -105,6 +105,15 @@ class ExtractTask extends Shell
*/
protected $_extractCore = false;

/**
* No welcome message.
*
* @return void
*/
protected function _welcome()
{
}

/**
* Method to interact with the User and get path selections.
*
Expand Down Expand Up @@ -182,10 +191,6 @@ public function main()

if ($this->_extractCore) {
$this->_paths[] = CAKE;
$this->_exclude = array_merge($this->_exclude, [
CAKE . 'Test',
CAKE . 'Console' . DS . 'Templates'
]);
}

if (isset($this->params['output'])) {
Expand Down

0 comments on commit 530719b

Please sign in to comment.