validate appstore update responses

This commit is contained in:
Girish Ramakrishnan
2018-01-25 09:35:06 -08:00
parent aab175ea05
commit 7c361a87b0
2 changed files with 20 additions and 10 deletions

View File

@@ -88,12 +88,6 @@ function checkAppUpdates(callback) {
return iteratorDone();
}
if (!safe.query(updateInfo, 'manifest.version')) {
debug('Skipping malformed update of app %s. got %j', app.id, updateInfo);
delete gAppUpdateInfo[app.id];
return iteratorDone();
}
gAppUpdateInfo[app.id] = updateInfo;
// decide whether to send email