if options.keys?.length is 1 and not options.reportDetails is not necessary and was introduced in some refactoring (https://github.com/flosse/sloc/commit/fe70a54fa0187454a16e95088188ef8db85d8151).
Either delete this block (as in this pull request), or change it to if options.keys?.length is 1 and not options.details. (Second option would only output one number without any further information. Which would be different from the normal behaviour)
Thanks!
if options.keys?.length is 1 and not options.reportDetails
is not necessary and was introduced in some refactoring (https://github.com/flosse/sloc/commit/fe70a54fa0187454a16e95088188ef8db85d8151). Either delete this block (as in this pull request), or change it toif options.keys?.length is 1 and not options.details
. (Second option would only output one number without any further information. Which would be different from the normal behaviour)Thanks!