Make addons code remove a BoxError
This commit is contained in:
@@ -105,8 +105,8 @@ function checkAppUpdates(callback) {
|
||||
return iteratorDone();
|
||||
}
|
||||
|
||||
const updateIsBlocked = apps.canAutoupdateApp(app, updateInfo.manifest);
|
||||
if (autoupdatesEnabled && !updateIsBlocked) return iteratorDone();
|
||||
const canAutoupdateApp = apps.canAutoupdateApp(app, updateInfo.manifest);
|
||||
if (autoupdatesEnabled && canAutoupdateApp) return iteratorDone();
|
||||
|
||||
debug('Notifying of app update for %s from %s to %s', app.id, app.manifest.version, updateInfo.manifest.version);
|
||||
notificationPending.push({
|
||||
|
||||
Reference in New Issue
Block a user