parent
33fc50a0b5
commit
a188afb0da
|
@ -223,7 +223,7 @@ class Builder implements LoggerAwareInterface
|
||||||
if (IS_WIN) {
|
if (IS_WIN) {
|
||||||
$cmd = 'rmdir /S /Q "%s"';
|
$cmd = 'rmdir /S /Q "%s"';
|
||||||
}
|
}
|
||||||
$this->executeCommand($cmd, $this->buildPath);
|
$this->executeCommand($cmd, rtrim($this->buildPath, '/'));
|
||||||
} catch (\Exception $ex) {
|
} catch (\Exception $ex) {
|
||||||
$this->build->setStatus(Build::STATUS_FAILED);
|
$this->build->setStatus(Build::STATUS_FAILED);
|
||||||
$this->buildLogger->logFailure(Lang::get('exception') . $ex->getMessage());
|
$this->buildLogger->logFailure(Lang::get('exception') . $ex->getMessage());
|
||||||
|
|
Loading…
Reference in a new issue