updates: only send email notifications when not auto-updating

fixes #749
This commit is contained in:
Girish Ramakrishnan
2020-12-29 12:43:53 -08:00
parent ff5702efc3
commit 28dee54a39
6 changed files with 169 additions and 69 deletions

View File

@@ -124,7 +124,7 @@ describe('updatechecker - box', function () {
expect(updatechecker.getUpdateInfo().box.sourceTarballUrl).to.be('box.tar.gz');
expect(scope.isDone()).to.be.ok();
checkMails(0, done); // it seems we stopped sending mails for box updates!
checkMails(1, done);
});
});