Merge pull request #871 from REBELinBLUE/fix_wipe_error
Preventing the wipe plugin failing due to an undefined variable
This commit is contained in:
commit
3626eabc2e
|
@ -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