mirror of
https://github.com/immich-app/immich.git
synced 2026-03-25 11:08:56 +03:00
chore(deps): update dependency eslint-plugin-unicorn to v62 (#24167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
@@ -61,7 +61,7 @@ export class BackupService extends BaseService {
|
||||
const newBackupStyle = file.match(/immich-db-backup-\d{8}T\d{6}-v.*-pg.*\.sql\.gz$/);
|
||||
return oldBackupStyle || newBackupStyle;
|
||||
})
|
||||
.sort()
|
||||
.toSorted()
|
||||
.toReversed();
|
||||
|
||||
const toDelete = backups.slice(config.keepLastAmount);
|
||||
|
||||
Reference in New Issue
Block a user