check that app patch releases does not send email

This commit is contained in:
Girish Ramakrishnan
2016-04-12 13:49:49 -07:00
parent 53268b67dc
commit 115ed12c36
2 changed files with 15 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ function checkAppUpdates(callback) {
return iteratorDone();
}
if (semver.satisfies(newState[id].version, '~' + app.manifest.version)) {
if (semver.satisfies(newState[id], '~' + app.manifest.version)) {
debug('Skipping notification of box update as this is a patch release');
} else {
mailer.appUpdateAvailable(app, updateInfo[id]);