1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-26 13:20:17 +02:00

added $currentCopy to the RollbackTask.php

This commit is contained in:
ZesInternational 2015-03-13 15:00:58 +01:00
parent 0406c7de8a
commit fd89d2c04a

View File

@ -88,6 +88,8 @@ class RollbackTask extends AbstractTask implements IsReleaseAware
}
}
$currentCopy = rtrim($releasesDirectory, '/') . '/' . $releaseId;
if (!$releaseIsAvailable) {
Console::output('Release <bold>' . $this->getReleaseId() . '</bold> is invalid or unavailable for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>');