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)
.on('error', reject)
.on('end', () => fs.unlink(`${output}-0.log`))
.on('end', () => fs.rm(`${output}-0.log.mbtree`, { force: true }))
.on('end', resolve)
.run();
})