mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-27 14:28:30 +00:00
Merge pull request #131 from compojoom/show_friendly_message_delete_fails
output message to delete the weblinks installation manually
This commit is contained in:
commit
8278e96032
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…
x
Reference in New Issue
Block a user