Preventing the plugin failing due to an undefined variable
This commit is contained in:
parent
ecc92b5f3e
commit
9ad0e90fa1
|
@ -61,8 +61,8 @@ class Wipe implements \PHPCI\Plugin
|
||||||
if (IS_WIN) {
|
if (IS_WIN) {
|
||||||
$cmd = 'rmdir /S /Q "%s"';
|
$cmd = 'rmdir /S /Q "%s"';
|
||||||
}
|
}
|
||||||
$success = $this->phpci->executeCommand($cmd, $this->directory);
|
return $this->phpci->executeCommand($cmd, $this->directory);
|
||||||
}
|
}
|
||||||
return $success;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue