Make sure proper fares are returned from the API #899
This commit is contained in:
@@ -92,8 +92,9 @@ class CreateDatabase extends Command
|
||||
}
|
||||
|
||||
if ($this->option('reset') === true) {
|
||||
$cmd = ['rm', '-rf', config($dbkey.'database')];
|
||||
$this->runCommand($cmd);
|
||||
if (file_exists($dbPath)) {
|
||||
unlink(config($dbkey.'database'));
|
||||
}
|
||||
}
|
||||
|
||||
if (!file_exists($dbPath)) {
|
||||
|
||||
Reference in New Issue
Block a user