From 822964116f3c02bb55068ec8a9a01434e782f8a2 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 9 Dec 2020 16:47:53 -0800 Subject: [PATCH] remove dead code appStoreId is never set to be cleared --- src/apps.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/apps.js b/src/apps.js index 49fc21bb5..7d45ae21c 100644 --- a/src/apps.js +++ b/src/apps.js @@ -1274,8 +1274,6 @@ function update(app, data, auditSource, callback) { // this allows cloudron install -f --app for an app installed from the appStore if (app.manifest.id !== updateConfig.manifest.id) { if (!data.force) return callback(new BoxError(BoxError.BAD_FIELD, 'manifest id does not match. force to override')); - // clear appStoreId so that this app does not get updates anymore - updateConfig.appStoreId = ''; } // suffix '0' if prerelease is missing for semver.lte to work as expected