Code should not be duplicated

This commit is contained in:
Andrés Montañez
2014-10-11 14:36:22 -02:00
parent b61e7149d0
commit 5d39e46d9e
2 changed files with 3 additions and 34 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ class ReleaseTask extends AbstractTask implements IsReleaseAware, SkipOnOverride
$directoryToDelete = $releasesDirectory . '/' . $releaseIdToDelete;
if ($directoryToDelete != '/') {
$command = 'rm -rf ' . $directoryToDelete;
$this->runCommandRemote($command);
$result = $result && $this->runCommandRemote($command);
}
}
}