Add log to prune storage script
This commit is contained in:
parent
2d6f28a2d9
commit
6b4e74c2b7
1 changed files with 2 additions and 0 deletions
|
@ -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)),
|
||||
|
|
Loading…
Reference in a new issue