From b85dcb257068bd3354ed0ed4dae5c22fa520d63c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 1 Mar 2017 11:28:07 -0500 Subject: [PATCH] lint --- src/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrade.js b/src/upgrade.js index 690b3465ee..0ab9984646 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -363,7 +363,7 @@ Upgrade.upgrade = function (callback) { newSettings[key] = map[settings[key]] || ''; } }); - + if (Object.keys(newSettings).length) { db.setObject('user:' + uid + ':settings', newSettings, next); } else {