Closed Juneezee closed 8 months ago
This commit fixes an edge case where an empty directory is provided. In that case, dirEntries and totalBytes will be zero.
dirEntries
totalBytes
How to reproduce:
$ mkdir emptydir $ find-duplicates --statistics ./emptydir {} json: unsupported value: NaN
Perfect, thank you very much!
This commit fixes an edge case where an empty directory is provided. In that case,
dirEntries
andtotalBytes
will be zero.How to reproduce: