1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00

fix: remove mbtree files (#2620)

This commit is contained in:
Sergey Kondrikov 2023-05-31 04:52:57 +03:00 committed by GitHub
parent 74c2f446e9
commit 5702442783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,6 +117,7 @@ export class MediaRepository implements IMediaRepository {
.output(output) .output(output)
.on('error', reject) .on('error', reject)
.on('end', () => fs.unlink(`${output}-0.log`)) .on('end', () => fs.unlink(`${output}-0.log`))
.on('end', () => fs.rm(`${output}-0.log.mbtree`, { force: true }))
.on('end', resolve) .on('end', resolve)
.run(); .run();
}) })