output message to delete the weblinks installation manually
This commit is contained in:
parent
dbcb20bff7
commit
c41b53afd8
11
RoboFile.php
11
RoboFile.php
|
@ -178,7 +178,16 @@ class RoboFile extends \Robo\Tasks
|
|||
// Get Joomla Clean Testing sites
|
||||
if (is_dir($this->cmsPath))
|
||||
{
|
||||
$this->taskDeleteDir($this->cmsPath)->run();
|
||||
try
|
||||
{
|
||||
$this->taskDeleteDir($this->cmsPath)->run();
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
// Sorry, we tried :(
|
||||
$this->say('Sorry, you will have to delete ' . $this->cmsPath . ' manually. ');
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
$this->_copyDir('tests/cache', $this->cmsPath);
|
||||
|
|
Loading…
Reference in New Issue