Remove one level of indentation

This commit is contained in:
Girish Ramakrishnan
2017-06-19 22:17:43 -07:00
parent 2d72f49261
commit 1802201e9e

View File

@@ -95,8 +95,9 @@ function checkAppUpdates(callback) {
if (oldState[app.id] === newState[app.id]) { if (oldState[app.id] === newState[app.id]) {
debug('Skipping notification of app update %s since user was already notified', app.id); debug('Skipping notification of app update %s since user was already notified', app.id);
iteratorDone(); return iteratorDone();
} else { }
settings.getSubscription(function (error, result) { settings.getSubscription(function (error, result) {
if (error) { if (error) {
debug(error); debug(error);
@@ -122,7 +123,6 @@ function checkAppUpdates(callback) {
iteratorDone(); iteratorDone();
}); });
}); });
}
}); });
}, function () { }, function () {
newState.box = loadState().box; // preserve the latest box state information newState.box = loadState().box; // preserve the latest box state information