diff --git a/src/standaloneUtils/rmDuplicates.js b/src/standaloneUtils/rmDuplicates.js index 5a5c446..5d6b547 100644 --- a/src/standaloneUtils/rmDuplicates.js +++ b/src/standaloneUtils/rmDuplicates.js @@ -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