remove empty block

v1.18.x
barisusakli 8 years ago
parent 5516352758
commit 08049c0712

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

Loading…
Cancel
Save