@@ -493,7 +493,9 @@ discard block |
||
493 | 493 | } |
494 | 494 | |
495 | 495 | foreach (array_reverse($releases) as $idx => $release) { |
496 | - if ($idx <= ($quantity - 1)) continue; |
|
496 | + if ($idx <= ($quantity - 1)) { |
|
497 | + continue; |
|
498 | + } |
|
497 | 499 | $proccess = new Process('rm -r ' . $release); |
498 | 500 | $proccess->run(); |
499 | 501 | } |
@@ -505,7 +507,9 @@ discard block |
||
505 | 507 | } |
506 | 508 | |
507 | 509 | public function absolutePath($path, $cwd) { |
508 | - if ($path[0] == '/') return $path; |
|
510 | + if ($path[0] == '/') { |
|
511 | + return $path; |
|
512 | + } |
|
509 | 513 | return $cwd . DIRECTORY_SEPARATOR . $path; |
510 | 514 | } |
511 | 515 |