Fix Robofile

This commit is contained in:
Timothy Warren 2016-08-19 13:53:37 -04:00
parent a6649465c3
commit 9e6549a9f3

View File

@ -169,7 +169,6 @@ class RoboFile extends \Robo\Tasks
*/ */
public function prepare() public function prepare()
{ {
$this->clean();
array_map([$this, '_mkdir'], $this->taskDirs); array_map([$this, '_mkdir'], $this->taskDirs);
} }
@ -248,7 +247,7 @@ class RoboFile extends \Robo\Tasks
$task = $task->process("php -l {$file}"); $task = $task->process("php -l {$file}");
} }
$task->addToCollection($collection); $collection->add($task);
} }
/** /**