rmDuplicates removed duplicate removed count log

This commit is contained in:
mrfry 2021-04-30 16:08:57 +02:00
parent 742f8866c7
commit 7c55407e0b

View file

@ -121,7 +121,6 @@ function removePossibleAnswersDuplicates(path) {
count++
})
let removed = 0
dirs.forEach((currDir) => {
const contents = fs.readdirSync(path + '/' + currDir)
@ -163,7 +162,6 @@ function removePossibleAnswersDuplicates(path) {
utils.deleteFile(currPath2)
count--
delets++
removed++
return true
}
})
@ -171,7 +169,6 @@ function removePossibleAnswersDuplicates(path) {
})
})
})
log(`Removed ${C('red')}${removed}${C()} files total`)
log(`${C('green')}Deleting empty directories ...${C()}`)
count = dirs.length