| @@ 556-563 (lines=8) @@ | ||
| 553 | $result = true; // trigger a cleanup |
|
| 554 | } |
|
| 555 | ||
| 556 | if ($result === true) { |
|
| 557 | // cleanup |
|
| 558 | $builddir = $this->getBuilder()->getBuildDir(); |
|
| 559 | if (is_dir($builddir)) { |
|
| 560 | $filesystem = new Filesystem(); |
|
| 561 | $filesystem->remove($builddir); |
|
| 562 | } |
|
| 563 | } |
|
| 564 | } |
|
| 565 | ||
| 566 | /** |
|
| @@ 654-661 (lines=8) @@ | ||
| 651 | $result = true; // trigger a cleanup |
|
| 652 | } |
|
| 653 | ||
| 654 | if ($result === true) { |
|
| 655 | // cleanup |
|
| 656 | $builddir = $this->getBuilder()->getBuildDir(); |
|
| 657 | if (is_dir($builddir)) { |
|
| 658 | $filesystem = new Filesystem(); |
|
| 659 | $filesystem->remove($builddir); |
|
| 660 | } |
|
| 661 | } |
|
| 662 | } |
|
| 663 | ||
| 664 | /** |
|