Add log to prune storage script

pull/4027/head
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
1 changed files with 2 additions and 0 deletions

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)),