src/Command/Clean.php 1 location
|
@@ 28-31 (lines=4) @@
|
| 25 |
|
$outputDir = file_get_contents($this->getPath().'/'.Serve::$tmpDir.'/output'); |
| 26 |
|
} |
| 27 |
|
// delete output dir |
| 28 |
|
if ($this->fs->exists($this->getPath().'/'.$outputDir)) { |
| 29 |
|
$this->fs->remove($this->getPath().'/'.$outputDir); |
| 30 |
|
$this->wlDone(sprintf("Output directory '%s' removed.", $outputDir)); |
| 31 |
|
} |
| 32 |
|
// delete local server temp files |
| 33 |
|
if ($this->fs->exists($this->getPath().'/'.Serve::$tmpDir)) { |
| 34 |
|
$this->fs->remove($this->getPath().'/'.Serve::$tmpDir); |
src/Command/CommandClean.php 1 location
|
@@ 38-41 (lines=4) @@
|
| 35 |
|
$outputDir = file_get_contents($this->getPath() . '/' . Serve::$tmpDir . '/output'); |
| 36 |
|
} |
| 37 |
|
// delete output dir |
| 38 |
|
if ($this->fs->exists($this->getPath() . '/' . $outputDir)) { |
| 39 |
|
$this->fs->remove($this->getPath() . '/' . $outputDir); |
| 40 |
|
$output->writeln(sprintf("Output directory '%s' removed.", $outputDir)); |
| 41 |
|
} |
| 42 |
|
// delete local server temp files |
| 43 |
|
if ($this->fs->exists($this->getPath() . '/' . Serve::$tmpDir)) { |
| 44 |
|
$this->fs->remove($this->getPath() . '/' . Serve::$tmpDir); |