Clear app update info if response was null

This commit is contained in:
Girish Ramakrishnan
2015-01-22 10:58:49 -08:00
parent 7302546640
commit 4b75f5738f
+1 -1
View File
@@ -87,7 +87,7 @@ function checkUpdates() {
checkAppUpdates(function (error, appUpdateInfo) {
if (error) debug('Error checking app updates: ', error);
if (appUpdateInfo) gAppUpdateInfo = appUpdateInfo;
gAppUpdateInfo = appUpdateInfo;
checkBoxUpdates(function (error, result) {
if (error) debug('Error checking box updates: ', error);