do not check for updates for stopped apps
This commit is contained in:
@@ -82,6 +82,7 @@ function checkAppUpdates(callback) {
|
||||
|
||||
async.eachSeries(result, function (app, iteratorDone) {
|
||||
if (app.appStoreId === '') return iteratorDone(); // appStoreId can be '' for dev apps
|
||||
if (app.runState === apps.RSTATE_STOPPED) return iteratorDone(); // stopped apps won't run migration scripts and shouldn't be updated
|
||||
|
||||
appstore.getAppUpdate(app, function (error, updateInfo) {
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user