Delete some residual files
This commit is contained in:
parent
bbd0f8ddef
commit
a3ee7d10a8
|
@ -80,6 +80,17 @@ public function handle()
|
|||
|
||||
$bundle->save();
|
||||
|
||||
$toDelete = [
|
||||
'attachments.json',
|
||||
'index.json',
|
||||
'metadata.json',
|
||||
'links.json',
|
||||
];
|
||||
|
||||
foreach ($toDelete as $file) {
|
||||
$bundle->getDisk()->delete($bundle->getPath() . $file);
|
||||
}
|
||||
|
||||
$this->info('OK');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user