remove empty block

This commit is contained in:
barisusakli
2017-04-22 13:49:10 -04:00
parent 5516352758
commit 08049c0712

View File

@@ -24,9 +24,7 @@ exports.processSortedSet = function (setKey, process, options, callback) {
// Progress bar handling (upgrade scripts)
if (options.progress) {
db.sortedSetCard(setKey, function (err, total) {
if (err) {
// Unable to get total, do nothing.
} else {
if (!err) {
options.progress.total = total;
}
});