Skip to content

Commit 54f974b

Browse files
committed
fix cleanup
1 parent f025a47 commit 54f974b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All Notable changes to `laravel-backup` will be documented in this file
44

5+
###2.8.3
6+
- Further improve the clean up of temporary files.
7+
58
###2.8.2
69
- Improve the clean up of temporary files.
710

src/Commands/BackupCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ protected function getDatabaseDump()
270270

271271
$this->comment('Database dumped');
272272

273-
$dbDumpFile = $databaseBackupHandler->getFilesToBeBackedUp()[0];
273+
$dbDumpFile = $filesToBeBackedUp[0];
274274

275275
$this->temporaryFiles[] = $dbDumpFile;
276276

0 commit comments

Comments
 (0)