Preventing the plugin failing due to an undefined variable

This commit is contained in:
Stephen Ball 2015-03-16 11:05:33 +00:00
parent ecc92b5f3e
commit 9ad0e90fa1

View file

@ -61,8 +61,8 @@ class Wipe implements \PHPCI\Plugin
if (IS_WIN) {
$cmd = 'rmdir /S /Q "%s"';
}
$success = $this->phpci->executeCommand($cmd, $this->directory);
return $this->phpci->executeCommand($cmd, $this->directory);
}
return $success;
return true;
}
}