1
0
Fork 0

Add log to prune storage script

This commit is contained in:
Chocobozzz 2021-04-28 08:56:08 +02:00
parent 2d6f28a2d9
commit 6b4e74c2b7
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -34,6 +34,8 @@ async function run () {
let toDelete: string[] = []
console.log('Detecting files to remove, it could take a while...')
toDelete = toDelete.concat(
await pruneDirectory(CONFIG.STORAGE.VIDEOS_DIR, doesVideoExist(true)),
await pruneDirectory(CONFIG.STORAGE.TORRENTS_DIR, doesVideoExist(true)),